class AbstractNormalizer extends SerializerAwareNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface
Normalizer implementation.
Traits
SerializerAwareTrait | SerializerAware trait. |
Constants
CIRCULAR_REFERENCE_LIMIT | |
OBJECT_TO_POPULATE | |
GROUPS |
Methods
setSerializer(SerializerInterface $serializer) Sets the serializer. | from SerializerAwareTrait | |
__construct(ClassMetadataFactoryInterface $classMetadataFactory = null, NameConverterInterface $nameConverter = null) Sets the {@link ClassMetadataFactoryInterface} to use. | ||
AbstractNormalizer | setCircularReferenceLimit(int $circularReferenceLimit) Set circular reference limit. | |
AbstractNormalizer | setCircularReferenceHandler(callable $circularReferenceHandler) Set circular reference handler. | |
AbstractNormalizer | setCallbacks(array $callbacks) Set normalization callbacks. | |
AbstractNormalizer | setIgnoredAttributes(array $ignoredAttributes) Set ignored attributes for normalization and denormalization. |
Details
setSerializer(SerializerInterface $serializer)
Sets the serializer.
__construct(ClassMetadataFactoryInterface $classMetadataFactory = null, NameConverterInterface $nameConverter = null)
Sets the {@link ClassMetadataFactoryInterface} to use.
AbstractNormalizer setCircularReferenceLimit(int $circularReferenceLimit)
Set circular reference limit.
AbstractNormalizer setCircularReferenceHandler(callable $circularReferenceHandler)
Set circular reference handler.
AbstractNormalizer setCallbacks(array $callbacks)
Set normalization callbacks.
AbstractNormalizer setIgnoredAttributes(array $ignoredAttributes)
Set ignored attributes for normalization and denormalization.
Please login to continue.