1 | <?php |
||
9 | final class DenormalizationFieldMapping implements DenormalizationFieldMappingInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $name; |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $groups; |
||
20 | |||
21 | /** |
||
22 | * @var FieldDenormalizerInterface |
||
23 | */ |
||
24 | private $fieldDenormalizer; |
||
25 | |||
26 | /** |
||
27 | * @var string|null |
||
28 | */ |
||
29 | private $forceType; |
||
30 | |||
31 | /** |
||
32 | * @param string $name |
||
33 | * @param array $groups |
||
34 | * @param FieldDenormalizerInterface $fieldDenormalizer |
||
35 | * @param string|null $forceType |
||
36 | */ |
||
37 | 3 | public function __construct( |
|
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | 1 | public function getName(): string |
|
56 | |||
57 | /** |
||
58 | * @return array |
||
59 | */ |
||
60 | 1 | public function getGroups(): array |
|
64 | |||
65 | /** |
||
66 | * @return FieldDenormalizerInterface |
||
67 | */ |
||
68 | 1 | public function getFieldDenormalizer(): FieldDenormalizerInterface |
|
72 | |||
73 | /** |
||
74 | * @return string|null |
||
75 | */ |
||
76 | public function getForceType() |
||
80 | } |
||
81 |