1 | <?php |
||
9 | final class NormalizationLinkMapping implements NormalizationLinkMappingInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $name; |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $groups; |
||
20 | |||
21 | /** |
||
22 | * @var LinkNormalizerInterface |
||
23 | */ |
||
24 | private $linkNormalizer; |
||
25 | |||
26 | /** |
||
27 | * @param string $name |
||
28 | * @param array $groups |
||
29 | * @param LinkNormalizerInterface $linkNormalizer |
||
30 | */ |
||
31 | public function __construct( |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getName(): string |
||
48 | |||
49 | /** |
||
50 | * @return string[] |
||
51 | */ |
||
52 | public function getGroups(): array |
||
56 | |||
57 | /** |
||
58 | * @return LinkNormalizerInterface |
||
59 | */ |
||
60 | public function getLinkNormalizer(): LinkNormalizerInterface |
||
64 | } |
||
65 |