1 | <?php |
||
11 | class JsonFileParser extends JsonParser |
||
12 | { |
||
13 | /** |
||
14 | * Override the parent, because we can parse from a given file's path, |
||
15 | * rather than the file's string contents. |
||
16 | * |
||
17 | * @param string $data Path to the JSON file to parse |
||
18 | * @throws Bob\Filesystem\FileNotFoundException |
||
19 | * @return array Parent's return value |
||
20 | * @author Glenn McEwan <[email protected]> |
||
21 | */ |
||
22 | 4 | public function parse($data) |
|
32 | } |
||
33 |