PHP Interface ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\FilterInterface

Author: Kévin Dunglas ([email protected])
Inheritance: extends ApiPlatform\Core\Api\FilterInterface
Datei anzeigen Open project: api-platform/core

Public Methods

Method Description
apply ( Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null ) Applies the filter.

Method Details

apply() public method

Applies the filter.
public apply ( 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