| 1 | <?php | ||
| 10 | final class LinkNormalizer implements LinkNormalizerInterface | ||
| 11 | { | ||
| 12 | /** | ||
| 13 | * @var LinkInterface | ||
| 14 | */ | ||
| 15 | private $link; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @param LinkInterface $link | ||
| 19 | */ | ||
| 20 | public function __construct(LinkInterface $link) | ||
| 24 | |||
| 25 | /** | ||
| 26 | * @param string $path | ||
| 27 | * @param object|mixed $object | ||
| 28 | * @param NormalizerContextInterface $context | ||
| 29 | * | ||
| 30 | * @return array|null | ||
| 31 | * | ||
| 32 | * @throws SerializerLogicException | ||
| 33 | */ | ||
| 34 | public function normalizeLink(string $path, $object, NormalizerContextInterface $context) | ||
| 43 | } | ||
| 44 |