Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 6 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
GrowthConfigLoaderStaticTrait | |
0.00% |
0 / 6 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
getGrowthWikiConfig | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |||
getGrowthConfig | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace GrowthExperiments\Config; |
4 | |
5 | use GrowthExperiments\GrowthExperimentsServices; |
6 | use MediaWiki\MediaWikiServices; |
7 | |
8 | trait GrowthConfigLoaderStaticTrait { |
9 | private static function getGrowthWikiConfig() { |
10 | return GrowthExperimentsServices::wrap( |
11 | MediaWikiServices::getInstance() |
12 | )->getGrowthWikiConfig(); |
13 | } |
14 | |
15 | private static function getGrowthConfig() { |
16 | return GrowthExperimentsServices::wrap( |
17 | MediaWikiServices::getInstance() |
18 | )->getGrowthConfig(); |
19 | } |
20 | } |