Debian Codegraph @

extensions/AbuseFilter/includes/Watcher/Watcher.php

raw symbols SCIP
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 }