trait SerializerAwareTrait

SerializerAware trait.

Properties

protected SerializerInterface $serializer

Methods

setSerializer(SerializerInterface $serializer)

Sets the serializer.

Details

setSerializer(SerializerInterface $serializer)

Sets the serializer.

Parameters

SerializerInterface $serializer A SerializerInterface instance