PHP 클래스 ApiPlatform\Core\Hydra\Serializer\CollectionFiltersNormalizer

저자: Samuel ROZE ([email protected])
상속: implements Symfony\Component\Serializer\Normalizer\NormalizerInterface, implements Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface, use trait ApiPlatform\Core\JsonLd\Serializer\JsonLdContextTrait
파일 보기 프로젝트 열기: api-platform/core 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $collectionNormalizer, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Api\ResourceClassResolverInterface $resourceClassResolver, ApiPlatform\Core\Api\FilterCollection $filters )
normalize ( $object, $format = null, array $context = [] )
setNormalizer ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer )
supportsNormalization ( $data, $format = null )

비공개 메소드들

메소드 설명
getSearch ( string $resourceClass, array $parts, array $filters ) : array Returns the content of the Hydra search property.

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $collectionNormalizer, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Api\ResourceClassResolverInterface $resourceClassResolver, ApiPlatform\Core\Api\FilterCollection $filters )
$collectionNormalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface
$resourceMetadataFactory ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface
$resourceClassResolver ApiPlatform\Core\Api\ResourceClassResolverInterface
$filters ApiPlatform\Core\Api\FilterCollection

normalize() 공개 메소드

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

setNormalizer() 공개 메소드

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

supportsNormalization() 공개 메소드

public supportsNormalization ( $data, $format = null )