Method | Description | |
---|---|---|
__construct ( Doctrine\Common\Persistence\ManagerRegistry $managerRegistry, Symfony\Component\HttpFoundation\RequestStack $requestStack, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, boolean $enabled = true, boolean $clientEnabled = false, boolean $clientItemsPerPage = false, integer $itemsPerPage = 30, string $pageParameterName = 'page', string $enabledParameterName = 'pagination', string $itemsPerPageParameterName = 'itemsPerPage', integer $maximumItemPerPage = null ) | ||
applyToCollection ( Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null ) | ||
getResult ( Doctrine\ORM\QueryBuilder $queryBuilder ) | ||
supportsResult ( string $resourceClass, string $operationName = null ) : boolean |
Method | Description | |
---|---|---|
isPaginationEnabled ( |
||
useFetchJoinCollection ( Doctrine\ORM\QueryBuilder $queryBuilder ) : boolean | Determines whether the Paginator should fetch join collections, if the root entity uses composite identifiers it should not. | |
useOutputWalkers ( Doctrine\ORM\QueryBuilder $queryBuilder ) : boolean | Determines whether output walkers should be used. |
public __construct ( Doctrine\Common\Persistence\ManagerRegistry $managerRegistry, Symfony\Component\HttpFoundation\RequestStack $requestStack, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, boolean $enabled = true, boolean $clientEnabled = false, boolean $clientItemsPerPage = false, integer $itemsPerPage = 30, string $pageParameterName = 'page', string $enabledParameterName = 'pagination', string $itemsPerPageParameterName = 'itemsPerPage', integer $maximumItemPerPage = null ) | ||
$managerRegistry | Doctrine\Common\Persistence\ManagerRegistry | |
$requestStack | Symfony\Component\HttpFoundation\RequestStack | |
$resourceMetadataFactory | ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface | |
$enabled | boolean | |
$clientEnabled | boolean | |
$clientItemsPerPage | boolean | |
$itemsPerPage | integer | |
$pageParameterName | string | |
$enabledParameterName | string | |
$itemsPerPageParameterName | string | |
$maximumItemPerPage | integer |
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 |
public getResult ( Doctrine\ORM\QueryBuilder $queryBuilder ) | ||
$queryBuilder | Doctrine\ORM\QueryBuilder |