Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class JSONConfig extends AbstractConfig |
||
14 | { |
||
15 | /** |
||
16 | * The constructor expects an valid filename/path to the JSON file. |
||
17 | * @param string $strConfigFile |
||
18 | */ |
||
19 | public function __construct(string $strConfigFile) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Parse the given file an add all settings to the internal configuration. |
||
26 | * @param string $strConfigFile |
||
27 | * @return array<mixed> |
||
28 | */ |
||
29 | protected function parseFile(string $strConfigFile) : array |
||
46 |