Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
GrowthConfigLoaderStaticTrait
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 2
6
0.00% covered (danger)
0.00%
0 / 1
 getGrowthWikiConfig
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
 getGrowthConfig
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace GrowthExperiments\Config;
4
5use GrowthExperiments\GrowthExperimentsServices;
6use MediaWiki\MediaWikiServices;
7
8trait 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}