1 | <?php |
||
16 | class JsonLdItemFormatter extends ValueFormatterBase { |
||
17 | |||
18 | /** |
||
19 | * @var ValueFormatter |
||
20 | */ |
||
21 | private $entityFormatter; |
||
22 | |||
23 | /** |
||
24 | * @param ValueFormatter $entityFormatter |
||
25 | * @param FormatterOptions $options |
||
26 | */ |
||
27 | 1 | public function __construct(ValueFormatter $entityFormatter, FormatterOptions $options) { |
|
32 | |||
33 | /** |
||
34 | * @see ValueFormatter::format |
||
35 | */ |
||
36 | 1 | public function format($value) { |
|
43 | |||
44 | 1 | private function toJsonLd(Item $item) { |
|
48 | } |
||
49 |