interface SerializerAwareInterface

Defines the interface of encoders

@author Jordi Boggiano <j.boggiano@seld.be>

Hierarchy

Expanded class hierarchy of SerializerAwareInterface

All classes that implement SerializerAwareInterface

2 files declare their use of SerializerAwareInterface
SerializerAwareEncoder.php in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/SerializerAwareEncoder.php
SerializerAwareNormalizer.php in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Normalizer/SerializerAwareNormalizer.php

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/SerializerAwareInterface.php, line 21

Namespace

Symfony\Component\Serializer
View source
interface SerializerAwareInterface {

  /**
   * Sets the owning Serializer object
   *
   * @param SerializerInterface $serializer
   */
  public function setSerializer(SerializerInterface $serializer);

}

Members

Namesort descending Modifiers Type Description Overrides
SerializerAwareInterface::setSerializer public function Sets the owning Serializer object 2