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

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

공개 메소드들

메소드 설명
__construct ( ApiPlatform\Core\JsonLd\ContextBuilderInterface $contextBuilder, ApiPlatform\Core\Api\ResourceClassResolverInterface $resourceClassResolver, ApiPlatform\Core\Api\IriConverterInterface $iriConverter )
normalize ( $object, $format = null, array $context = [] )
supportsNormalization ( $data, $format = null )

메소드 상세

__construct() 공개 메소드

public __construct ( ApiPlatform\Core\JsonLd\ContextBuilderInterface $contextBuilder, ApiPlatform\Core\Api\ResourceClassResolverInterface $resourceClassResolver, ApiPlatform\Core\Api\IriConverterInterface $iriConverter )
$contextBuilder ApiPlatform\Core\JsonLd\ContextBuilderInterface
$resourceClassResolver ApiPlatform\Core\Api\ResourceClassResolverInterface
$iriConverter ApiPlatform\Core\Api\IriConverterInterface

normalize() 공개 메소드

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

supportsNormalization() 공개 메소드

public supportsNormalization ( $data, $format = null )