PHP Класс Dunglas\DoctrineJsonOdm\Normalizer\ObjectNormalizer

Автор: Kévin Dunglas ([email protected])
Наследование: implements Symfony\Component\Serializer\Normalizer\NormalizerInterface, implements Symfony\Component\Serializer\Normalizer\DenormalizerInterface, implements Symfony\Component\Serializer\SerializerAwareInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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

denormalize() публичный Метод

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

normalize() публичный Метод

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

setSerializer() публичный Метод

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

supportsDenormalization() публичный Метод

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

supportsNormalization() публичный Метод

public supportsNormalization ( $data, $format = null )