public function DenormalizerInterface::denormalize

Denormalizes data back into an object of the given class

Parameters

mixed $data data to restore:

string $class the expected class to instantiate:

string $format format the given data was extracted from:

Return value

object

3 methods override DenormalizerInterface::denormalize()
CustomNormalizer::denormalize in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Normalizer/CustomNormalizer.php
Denormalizes data back into an object of the given class
GetSetMethodNormalizer::denormalize in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
Denormalizes data back into an object of the given class
Serializer::denormalize in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Serializer.php
Denormalizes data back into an object of the given class

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Normalizer/DenormalizerInterface.php, line 29

Class

DenormalizerInterface
Defines the interface of denormalizers.

Namespace

Symfony\Component\Serializer\Normalizer

Code

public function denormalize($data, $class, $format = null);