PHP Класс ApiPlatform\Core\Hal\Serializer\CollectionNormalizer

Автор: Kevin Dunglas ([email protected])
Автор: Hamza Amrouche ([email protected])
Наследование: implements Symfony\Component\Serializer\Normalizer\NormalizerInterface, implements Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface, use trait ApiPlatform\Core\Serializer\ContextTrait, use trait Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( ApiPlatform\Core\Api\ResourceClassResolverInterface $resourceClassResolver, string $pageParameterName )
normalize ( $object, $format = null, array $context = [] )
supportsNormalization ( $data, $format = null )

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

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

public __construct ( ApiPlatform\Core\Api\ResourceClassResolverInterface $resourceClassResolver, string $pageParameterName )
$resourceClassResolver ApiPlatform\Core\Api\ResourceClassResolverInterface
$pageParameterName string

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

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

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

public supportsNormalization ( $data, $format = null )