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