1 | <?php |
||
18 | class Json extends StandardAbstract |
||
19 | { |
||
20 | |||
21 | const SYNTAX_FORMAT = 'Json'; |
||
22 | |||
23 | protected $mandatoryFields = ['version', 'title', 'items']; |
||
24 | |||
25 | /** |
||
26 | * @param Document $document |
||
27 | * @return bool |
||
28 | */ |
||
29 | public function canHandle(Document $document) |
||
33 | |||
34 | /** |
||
35 | * @return JsonFormatter |
||
36 | */ |
||
37 | public function getFormatter() |
||
41 | |||
42 | } |
||
43 |