interface SerializerAwareInterface
Defines the interface of encoders.
Sets the owning Serializer object.
setSerializer(SerializerInterface $serializer)