| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class AbstractConfig |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param null|mixed $default |
||
| 13 | * |
||
| 14 | * @throws ConfigException |
||
| 15 | * |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | 5 | protected function get(string $key, $default = Config::DEFAULT_CONFIG_VALUE) |
|
| 19 | { |
||
| 20 | 5 | return Config::getInstance()->get($key, $default); |
|
| 21 | } |
||
| 22 | |||
| 23 | protected function getAppRootDir(): string |
||
| 26 | } |
||
| 27 | } |
||
| 28 |