class CustomNormalizer extends SerializerAwareNormalizer implements NormalizerInterface, DenormalizerInterface
setSerializer(SerializerInterface $serializer) Sets the owning Serializer object. | from SerializerAwareNormalizer | |
array|string|bool|int|float|null | 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 owning Serializer object.
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/2.8/Symfony/Component/Serializer/Normalizer/CustomNormalizer.html