PHP Class ApiPlatform\Core\Hydra\Serializer\PartialCollectionViewNormalizer

Author: Kévin Dunglas ([email protected])
Author: Samuel ROZE ([email protected])
Inheritance: implements Symfony\Component\Serializer\Normalizer\NormalizerInterface, implements Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface, use trait ApiPlatform\Core\JsonLd\Serializer\JsonLdContextTrait
Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $collectionNormalizer, string $pageParameterName = 'page', string $enabledParameterName = 'pagination' )
normalize ( $object, $format = null, array $context = [] )
setNormalizer ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer )
supportsNormalization ( $data, $format = null )

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $collectionNormalizer, string $pageParameterName = 'page', string $enabledParameterName = 'pagination' )
$collectionNormalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface
$pageParameterName string
$enabledParameterName string

normalize() public méthode

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

setNormalizer() public méthode

public setNormalizer ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer )
$normalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface

supportsNormalization() public méthode

public supportsNormalization ( $data, $format = null )