1 | <?php |
||
12 | class GenericJSONConverter extends AbstractConverter |
||
13 | { |
||
14 | /** |
||
15 | * Perform the ocnversion in JSON by exporting the objects tree in an array tree and converting it in JSON. |
||
16 | * |
||
17 | * @param Document $document : The Document instance to write in JSON. |
||
18 | * @param array $options : The options to perform the conversion. |
||
19 | * |
||
20 | * @return String : The JSON string. |
||
21 | */ |
||
22 | protected function convertFromDocumentInstance(Document $document, array $options) { |
||
25 | } |