PHP Class Dunglas\DoctrineJsonOdm\Normalizer\ObjectNormalizer

Author: Kévin Dunglas ([email protected])
Inheritance: implements Symfony\Component\Serializer\Normalizer\NormalizerInterface, implements Symfony\Component\Serializer\Normalizer\DenormalizerInterface, implements Symfony\Component\Serializer\SerializerAwareInterface
Show file Open project: dunglas/doctrine-json-odm

Public Methods

Method Description
__construct ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $objectNormalizer )
denormalize ( $data, $class, $format = null, array $context = [] )
normalize ( $object, $format = null, array $context = [] )
setSerializer ( Symfony\Component\Serializer\SerializerInterface $serializer )
supportsDenormalization ( $data, $type, $format = null )
supportsNormalization ( $data, $format = null )

Method Details

__construct() public method

public __construct ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $objectNormalizer )
$objectNormalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface

denormalize() public method

public denormalize ( $data, $class, $format = null, array $context = [] )
$context array

normalize() public method

public normalize ( $object, $format = null, array $context = [] )
$context array

setSerializer() public method

public setSerializer ( Symfony\Component\Serializer\SerializerInterface $serializer )
$serializer Symfony\Component\Serializer\SerializerInterface

supportsDenormalization() public method

public supportsDenormalization ( $data, $type, $format = null )

supportsNormalization() public method

public supportsNormalization ( $data, $format = null )