class CustomNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface
SerializerAwareTrait | SerializerAware trait. |
setSerializer(SerializerInterface $serializer) Sets the serializer. | from SerializerAwareTrait | |
array|scalar | normalize(object $object, string $format = null, array $context = array()) Normalizes an object into a set of arrays/scalars. | |
object | denormalize(mixed $data, string $class, string $format = null, array $context = array()) Denormalizes data back into an object of the given class. | |
bool | supportsNormalization(mixed $data, string $format = null) Checks if the given class implements the NormalizableInterface. | |
bool | supportsDenormalization(mixed $data, string $type, string $format = null) Checks if the given class implements the NormalizableInterface. |
Sets the serializer.
Normalizes an object into a set of arrays/scalars.
Denormalizes data back into an object of the given class.
Checks if the given class implements the NormalizableInterface.
Checks if the given class implements the NormalizableInterface.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Serializer/Normalizer/CustomNormalizer.html