Symfony2 API
Interface

Symfony\Component\Serializer\SerializerAwareInterface

interface SerializerAwareInterface

Defines the interface of encoders.

Methods

setSerializer(SerializerInterface $serializer)

Sets the owning Serializer object.

Details

at line 26
public setSerializer(SerializerInterface $serializer)

Sets the owning Serializer object.

Parameters

SerializerInterface $serializer