SerializerAwareNormalizer deprecated

class SerializerAwareNormalizer implements SerializerAwareInterface

deprecated

since version 3.1, to be removed in 4.0. Use the SerializerAwareTrait instead.

SerializerAware Normalizer implementation.

Traits

SerializerAwareTrait SerializerAware trait.

Methods

setSerializer(SerializerInterface $serializer)

Sets the serializer.

from SerializerAwareTrait

Details

setSerializer(SerializerInterface $serializer)

Sets the serializer.

Parameters

SerializerInterface $serializer A SerializerInterface instance

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Serializer/Normalizer/SerializerAwareNormalizer.html