1 | <?php |
||
15 | final class EnvelopeNormalizer implements NormalizerInterface, DenormalizerInterface, AggregateNormalizerAware |
||
16 | { |
||
17 | private $aggregate; |
||
18 | |||
19 | /** |
||
20 | * @param AggregateNormalizer $aggregate |
||
21 | */ |
||
22 | 2 | public function setAggregateNormalizer(AggregateNormalizer $aggregate) |
|
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | 1 | public function normalize($object, $format = null, array $context = []) |
|
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | 1 | public function denormalize($data, $class, $format = null, array $context = []) |
|
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function supportsDenormalization($data, $type, $format = null) |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function supportsNormalization($data, $format = null) |
||
74 | |||
75 | /** |
||
76 | * @param Envelope $envelope |
||
77 | * @param string $property |
||
78 | * @param mixed $value |
||
79 | */ |
||
80 | 1 | private function forcePropertyValue(Envelope $envelope, $property, $value) |
|
91 | } |
||
92 |