symfony / 3.1 / symfony / component / serializer / serializerawareinterface.html

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.
http://api.symfony.com/3.1/Symfony/Component/Serializer/SerializerAwareInterface.html