SerializerAwareEncoder deprecated
SerializerAwareEncoder deprecated
class SerializerAwareEncoder implements SerializerAwareInterface
deprecated
SerializerAware Encoder 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/3.2/Symfony/Component/Serializer/Encoder/SerializerAwareEncoder.html