Sets the owning Serializer object
Parameters
SerializerInterface $serializer:
File
- drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/SerializerAwareInterface.php, line 28
Class
- SerializerAwareInterface
- Defines the interface of encoders
Namespace
Symfony\Component\Serializer
Code
public function setSerializer(SerializerInterface $serializer);