mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-28 16:00:28 +00:00
15 lines
360 B
PHP
15 lines
360 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 string[] $filters The filters that matched the action
|
||
|
* @param string $group
|
||
|
*/
|
||
|
public function run( array $filters, string $group ) : void;
|
||
|
}
|