Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\AbuseFilter\Watcher; |
4 | |
5 | /** |
6 | * Classes inheriting this interface can be used to execute some actions after all filter have been checked. |
7 | */ |
8 | interface Watcher { |
9 | /** |
10 | * @param int[] $localFilters The local filters that matched the action |
11 | * @param int[] $globalFilters The global filters that matched the action |
12 | * @param string $group |
13 | */ |
14 | public function run( array $localFilters, array $globalFilters, string $group ): void; |
15 | } |