Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class ModuleNormalizer implements NormalizerInterface |
||
13 | { |
||
14 | private $normalizer; |
||
15 | private $moduleProgressProcessor; |
||
16 | |||
17 | public function __construct( |
||
23 | } |
||
24 | |||
25 | public function normalize($object, $format = null, array $context = []) |
||
26 | { |
||
27 | $data = $this->normalizer->normalize($object, $format, $context); |
||
28 | $data = $this->moduleProgressProcessor->process($object, $data); |
||
29 | |||
30 | return $data; |
||
31 | } |
||
32 | |||
33 | public function supportsNormalization($data, $format = null): bool |
||
36 | } |
||
37 | } |
||
38 |