1 | <?php |
||
16 | class Ini implements FileParserInterface |
||
17 | { |
||
18 | /** |
||
19 | * {@inheritDoc} |
||
20 | * Parses an INI file as an array |
||
21 | * |
||
22 | * @throws ParseException If there is an error parsing the INI file |
||
23 | */ |
||
24 | 9 | public function parse($path) |
|
35 | |||
36 | /** |
||
37 | * Expand array with dotted keys to multidimensional array |
||
38 | * |
||
39 | * @param array $data |
||
40 | * |
||
41 | * @return array |
||
42 | */ |
||
43 | 3 | protected function expandDottedKey($data) |
|
61 | |||
62 | /** |
||
63 | * {@inheritDoc} |
||
64 | */ |
||
65 | 3 | public static function getSupportedExtensions() |
|
69 | } |
||
70 |