class SerializerAwareEncoder implements SerializerAwareInterface

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

SerializerAware Encoder implementation.

Traits

SerializerAware trait.

Methods

setSerializer(SerializerInterface $serializer)

Sets the serializer.

Details

in SerializerAwareTrait at line line 31
setSerializer(SerializerInterface $serializer)

Sets the serializer.

Parameters

SerializerInterface $serializer A SerializerInterface instance