| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class ConfigFactory |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $appDir; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $environment; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \Jellyfish\Config\ConfigInterface |
||
| 19 | */ |
||
| 20 | protected $config; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $appDir |
||
| 24 | * @param string $environment |
||
| 25 | */ |
||
| 26 | public function __construct( |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return \Jellyfish\Config\ConfigInterface |
||
| 36 | */ |
||
| 37 | public function getConfig(): ConfigInterface |
||
| 46 |