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