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\Hooks; |
| 4 | |
| 5 | interface AbuseFilterBuilderHook { |
| 6 | /** |
| 7 | * Hook runner for the `AbuseFilter-builder` hook |
| 8 | * |
| 9 | * Allows overwriting of the builder values, i.e. names and descriptions of |
| 10 | * the AbuseFilter language like variables. |
| 11 | * |
| 12 | * @param array &$realValues Builder values |
| 13 | * @return bool|void True or no return value to continue or false to abort |
| 14 | */ |
| 15 | public function onAbuseFilter_builder( array &$realValues ); |
| 16 | } |