Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | abstract class AbstractConfig |
||
11 | { |
||
12 | /** |
||
13 | * Allow easy access to the root dir of the project. |
||
14 | */ |
||
15 | 1 | public function getAppRootDir(): string |
|
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param null|mixed $default |
||
22 | * |
||
23 | * @throws ConfigException |
||
24 | * |
||
25 | * @return mixed |
||
26 | */ |
||
27 | 15 | protected function get(string $key, $default = Config::DEFAULT_CONFIG_VALUE) |
|
32 |