Reference
C
Class

ApiPlatform\Doctrine\Orm\Extension\FilterExtension

Applies filters on a resource query.

class ApiPlatform\Doctrine\Orm\Extension\FilterExtension implements `<a href="/docs/reference/Doctrine/Orm/Extension/QueryCollectionExtensionInterface">ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface</a>`
{
    public __construct(Psr\Container\ContainerInterface $filterLocator)
    public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
}
class ApiPlatform\Doctrine\Orm\Extension\FilterExtension implements `<a href="/docs/reference/Doctrine/Orm/Extension/QueryCollectionExtensionInterface">ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface</a>`
{
    public __construct(Psr\Container\ContainerInterface $filterLocator)
    public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
}

Methods

__construct

public __construct(Psr\Container\ContainerInterface $filterLocator)
public __construct(Psr\Container\ContainerInterface $filterLocator)

Parameters

filterLocatorPsr\Container\ContainerInterface

applyToCollection

public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null

Parameters

queryBuilderDoctrine\ORM\QueryBuilder
queryNameGeneratorApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface
resourceClassstring
operationApiPlatform\Metadata\Operation
contextarray

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop