| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class AuthorNormalizer implements NormalizerInterface |
||
| 13 | { |
||
| 14 | private $normalizer; |
||
| 15 | private $fileHrefProcessor; |
||
| 16 | |||
| 17 | public function __construct( |
||
| 18 | ObjectNormalizer $normalizer, |
||
| 19 | FileHrefProcessor $fileHrefProcessor |
||
| 20 | ) { |
||
| 21 | $this->normalizer = $normalizer; |
||
| 22 | $this->fileHrefProcessor = $fileHrefProcessor; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function normalize($object, $format = null, array $context = []) |
||
| 31 | } |
||
| 32 | |||
| 33 | public function supportsNormalization($data, $format = null): bool |
||
| 36 | } |
||
| 37 | } |
||
| 38 |