| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class LinkNormalizer implements LinkNormalizerInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var LinkInterface |
||
| 14 | */ |
||
| 15 | private $link; |
||
| 16 | |||
| 17 | public function __construct(LinkInterface $link) |
||
| 18 | { |
||
| 19 | $this->link = $link; |
||
| 20 | 1 | } |
|
| 21 | |||
| 22 | 1 | /** |
|
| 23 | 1 | * @param object|mixed $object |
|
| 24 | * |
||
| 25 | * @throws SerializerLogicException |
||
| 26 | * |
||
| 27 | * @return array|null |
||
| 28 | */ |
||
| 29 | public function normalizeLink(string $path, $object, NormalizerContextInterface $context) |
||
| 36 | ]; |
||
| 37 | 1 | } |
|
| 39 |