1 | <?php |
||
7 | final class RootAwareFieldNormalizerDecorator implements FieldNormalizerInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | const ATTRIBUTE_ROOT = 'root'; |
||
13 | |||
14 | /** |
||
15 | * @var FieldNormalizerInterface |
||
16 | */ |
||
17 | private $fieldNormalizer; |
||
18 | |||
19 | /** |
||
20 | * @param FieldNormalizerInterface $fieldNormalizer |
||
21 | */ |
||
22 | public function __construct(FieldNormalizerInterface $fieldNormalizer) |
||
26 | |||
27 | /** |
||
28 | * @param string $path |
||
29 | * @param object|mixed $object |
||
30 | * @param NormalizerContextInterface $context |
||
31 | * @param NormalizerInterface|null $normalizer |
||
32 | * |
||
33 | * @return mixed|void |
||
34 | */ |
||
35 | public function normalizeField( |
||
47 | } |
||
48 |