Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class JsonConsoleConfigFactory extends AbstractConsoleConfigFactory |
||
18 | { |
||
19 | /** |
||
20 | * Decode a configuration file to get a configuration array. |
||
21 | * |
||
22 | * @param string $configPath The configuration file path. |
||
23 | * |
||
24 | * @return array The decoded configuration array. |
||
25 | * |
||
26 | * @throws InvalidConfigException If the configuration is invalid. |
||
27 | */ |
||
28 | protected function decode(string $configPath): array |
||
37 |