You are here

public function SerializerAwareInterface::setSerializer in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/SerializerAwareInterface.php \Symfony\Component\Serializer\SerializerAwareInterface::setSerializer()

Sets the owning Serializer object.

Parameters

SerializerInterface $serializer:

2 methods override SerializerAwareInterface::setSerializer()
SerializerAwareEncoder::setSerializer in vendor/symfony/serializer/Encoder/SerializerAwareEncoder.php
Sets the owning Serializer object.
SerializerAwareNormalizer::setSerializer in vendor/symfony/serializer/Normalizer/SerializerAwareNormalizer.php
Sets the owning Serializer object.

File

vendor/symfony/serializer/SerializerAwareInterface.php, line 26

Class

SerializerAwareInterface
Defines the interface of encoders.

Namespace

Symfony\Component\Serializer

Code

public function setSerializer(SerializerInterface $serializer);