Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize
Denormalizes data back into an object of the given class
Signature
public function denormalize(mixed
$data,
[string
$class = null,
[string
$format = null,
array
$context]] )
Parameters
$data
— mixed- data to restore
$class
— string- the expected class to instantiate
$format
— string- format the given data was extracted from
$context
— array- options available to the denormalizer