class AbstractNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface
Normalizer implementation.
| ObjectToPopulateTrait | |
| SerializerAwareTrait | SerializerAware trait. |
| CIRCULAR_REFERENCE_LIMIT | |
| OBJECT_TO_POPULATE | |
| GROUPS | |
| ATTRIBUTES | |
| ALLOW_EXTRA_ATTRIBUTES |
| 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. |
Sets the serializer.
| SerializerInterface | $serializer | A SerializerInterface instance |
Sets the {@link ClassMetadataFactoryInterface} to use.
| ClassMetadataFactoryInterface | $classMetadataFactory | |
| NameConverterInterface | $nameConverter |
Set circular reference limit.
| int | $circularReferenceLimit | Limit of iterations for the same object |
| AbstractNormalizer |
Set circular reference handler.
| callable | $circularReferenceHandler |
| AbstractNormalizer |
Set normalization callbacks.
| array | $callbacks | Help normalize the result |
| AbstractNormalizer |
| InvalidArgumentException | if a non-callable callback is set |
Set ignored attributes for normalization and denormalization.
| array | $ignoredAttributes |
| AbstractNormalizer |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.html