W3cubDocs

/Symfony 4.1

SerializerAwareInterface

interface SerializerAwareInterface

Defines the interface of encoders.

Methods

setSerializer(SerializerInterface $serializer)

Sets the owning Serializer object.

Details

setSerializer(SerializerInterface $serializer)

Sets the owning Serializer object.

Parameters

SerializerInterface $serializer

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Serializer/SerializerAwareInterface.html