mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-22 02:12:45 +00:00
5377ebe819
composer: * mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0 npm: * postcss: 7.0.35 → 7.0.36 * https://npmjs.com/advisories/1693 (CVE-2021-23368) Change-Id: I2b382f3bb236fb44eb24c6a257b13b8fd886541c
16 lines
469 B
PHP
16 lines
469 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\AbuseFilter\Watcher;
|
|
|
|
/**
|
|
* Classes inheriting this interface can be used to execute some actions after all filter have been checked.
|
|
*/
|
|
interface Watcher {
|
|
/**
|
|
* @param int[] $localFilters The local filters that matched the action
|
|
* @param int[] $globalFilters The global filters that matched the action
|
|
* @param string $group
|
|
*/
|
|
public function run( array $localFilters, array $globalFilters, string $group ): void;
|
|
}
|