Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | * Parse the given file an add all settings to the internal configuration. |
||
30 | * @param string $strConfigFile |
||
31 | */ |
||
32 | protected function parseFile(string $strConfigFile) : array |
||
33 | { |
||
34 | if (!file_exists($strConfigFile)) { |
||
35 | trigger_error('Config File (' . $strConfigFile . ') does not exist!', E_USER_WARNING); |
||
36 | } |
||
37 | |||
38 | // first read XML data into stdclass object using the SimpleXML |
||
52 |