public function SerializerAwareInterface::setSerializer in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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\SerializerCode
public function setSerializer(SerializerInterface $serializer);