| 1 | <?php |
||
| 12 | class Serialize implements ParserInterface |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | */ |
||
| 18 | public function parseFile($filename) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function parseString($config) |
||
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * Completes parsing of JSON data |
||
| 36 | * |
||
| 37 | * @param string $data |
||
| 38 | * @param string $filename |
||
| 39 | * @return array|null |
||
| 40 | * |
||
| 41 | * @throws ParseException If there is an error parsing the serialized data |
||
| 42 | */ |
||
| 43 | protected function parse($data = null, $filename = null) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public static function getSupportedExtensions() |
||
| 67 | } |
||
| 68 |