You are here

interface SerializerAwareInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/SerializerAwareInterface.php \Symfony\Component\Serializer\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 vendor/symfony/serializer/Encoder/SerializerAwareEncoder.php
SerializerAwareNormalizer.php in vendor/symfony/serializer/Normalizer/SerializerAwareNormalizer.php

File

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

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