Total Complexity | 6 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | class YAMLConfig extends AbstractConfig |
||
16 | { |
||
17 | /** |
||
18 | * The constructor expects an valid filename/path to the YAML file. |
||
19 | * @param string $strConfigFile |
||
20 | */ |
||
21 | public function __construct(string $strConfigFile) |
||
28 | } |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Parse the given file an add all settings to the internal configuration. |
||
33 | * @param string $strConfigFile |
||
34 | * @return array<mixed> |
||
35 | */ |
||
36 | protected function parseFile(string $strConfigFile) : array |
||
55 |