PHP 클래스 ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\FilterExtension

저자: Kévin Dunglas ([email protected])
저자: Samuel ROZE ([email protected])
상속: implements ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryCollectionExtensionInterface
파일 보기 프로젝트 열기: api-platform/core 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Api\FilterCollection $filters )
applyToCollection ( Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null )

메소드 상세

__construct() 공개 메소드

public __construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Api\FilterCollection $filters )
$resourceMetadataFactory ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface
$filters ApiPlatform\Core\Api\FilterCollection

applyToCollection() 공개 메소드

public applyToCollection ( Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null )
$queryBuilder Doctrine\ORM\QueryBuilder
$queryNameGenerator ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface
$resourceClass string
$operationName string