| 1 | <?php |
||
| 16 | class Json implements FileParserInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * {@inheritDoc} |
||
| 20 | * Loads a JSON file as an array |
||
| 21 | * |
||
| 22 | * @throws ParseException If there is an error parsing the JSON file |
||
| 23 | */ |
||
| 24 | 6 | public function parse($path) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritDoc} |
||
| 47 | */ |
||
| 48 | 3 | public static function getSupportedExtensions() |
|
| 52 | } |
||
| 53 |