| 1 | <?php |
||
| 11 | final class DenormalizingFieldMapping implements DenormalizingFieldMappingInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $name; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | private $groups; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var FieldDenormalizerInterface |
||
| 25 | */ |
||
| 26 | private $fieldDenormalizer; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $name |
||
| 30 | * @param array $groups |
||
| 31 | * @param FieldDenormalizerInterface|null $fieldDenormalizer |
||
| 32 | */ |
||
| 33 | 4 | public function __construct($name, array $groups = [], FieldDenormalizerInterface $fieldDenormalizer = null) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 4 | public function getName(): string |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | public function getGroups(): array |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return FieldDenormalizerInterface |
||
| 57 | */ |
||
| 58 | 4 | public function getFieldDenormalizer(): FieldDenormalizerInterface |
|
| 62 | } |
||
| 63 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.