Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
FlaggedRevsMediaWikiServicesHooks | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
onMediaWikiServices | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | namespace MediaWiki\Extension\FlaggedRevs\Backend; |
3 | |
4 | use FlaggedRevsSetup; |
5 | use MediaWiki\Hook\MediaWikiServicesHook; |
6 | |
7 | /** |
8 | * Initialize derived configuration variables on service container setup. |
9 | */ |
10 | class FlaggedRevsMediaWikiServicesHooks implements MediaWikiServicesHook { |
11 | |
12 | /** |
13 | * @inheritDoc |
14 | */ |
15 | public function onMediaWikiServices( $services ): void { |
16 | ( new FlaggedRevsSetup( $services->getMainConfig() ) )->doSetup(); |
17 | } |
18 | } |