1 | <?php |
||
9 | abstract class AbstractDenormalizer implements DenormalizerInterface |
||
10 | { |
||
11 | public const JSON_FORMAT = 'json'; |
||
12 | |||
13 | /** |
||
14 | * @var \Symfony\Component\Serializer\Normalizer\DenormalizerInterface |
||
15 | */ |
||
16 | protected $denormalizer; |
||
17 | |||
18 | public function __construct(InternalDenormalizer $denormalizer) |
||
22 | |||
23 | /** |
||
24 | * @param string $key |
||
25 | * @param array $data |
||
26 | * @param string $class |
||
27 | * |
||
28 | * @return object|null |
||
29 | */ |
||
30 | protected function getValue(string $key, array $data, string $class): ?object |
||
34 | |||
35 | protected function getValues(array $key, array $data, string $class): ?object |
||
39 | |||
40 | protected function getDateTimeFromTimestamp($key, $data) |
||
44 | |||
45 | protected function getData(string $key, array $values) |
||
49 | } |
||
50 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.