| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class INIConfig extends AbstractConfig |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The constructor expects an valid filename/path to the JSON file. |
||
| 24 | * @param string $strConfigFile |
||
| 25 | */ |
||
| 26 | public function __construct(string $strConfigFile) |
||
| 27 | { |
||
| 28 | $this->aConfig = $this->parseFile($strConfigFile); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Parse the given file an add all settings to the internal configuration. |
||
| 33 | * @param string $strConfigFile |
||
| 34 | */ |
||
| 35 | protected function parseFile(string $strConfigFile) : array |
||
| 42 | } |
||
| 43 | } |
||
| 44 |