1 | <?php |
||
14 | class FeatureToggler |
||
15 | { |
||
16 | /** |
||
17 | * @var Config The config object |
||
18 | */ |
||
19 | private $config; |
||
20 | |||
21 | 1 | public function __construct($configFile) |
|
29 | |||
30 | /** |
||
31 | * @param string $key |
||
32 | * @param bool|string $defaultValue |
||
33 | * @return boolean |
||
34 | */ |
||
35 | 69 | public function isEnabled($key, $defaultValue = false) |
|
47 | } |
||
48 |