1 | <?php |
||
13 | final class ReferenceManyFieldNormalizer implements FieldNormalizerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var AccessorInterface |
||
17 | */ |
||
18 | private $childAccessor; |
||
19 | |||
20 | /** |
||
21 | * @var AccessorInterface |
||
22 | */ |
||
23 | private $accessor; |
||
24 | |||
25 | /** |
||
26 | * @param AccessorInterface $childAccessor |
||
27 | * @param AccessorInterface $accessor |
||
28 | */ |
||
29 | public function __construct(AccessorInterface $childAccessor, AccessorInterface $accessor) |
||
34 | |||
35 | /** |
||
36 | * @param string $path |
||
37 | * @param object $object |
||
38 | * @param NormalizerContextInterface $context |
||
39 | * @param NormalizerInterface|null $normalizer |
||
40 | * |
||
41 | * @return mixed |
||
42 | * |
||
43 | * @throws SerializerLogicException |
||
44 | */ |
||
45 | public function normalizeField( |
||
62 | } |
||
63 |