PHP Class ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\OrderExtension

Author: Kévin Dunglas ([email protected])
Author: Samuel ROZE ([email protected])
Inheritance: implements ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryCollectionExtensionInterface
Exibir arquivo Open project: api-platform/core Class Usage Examples

Public Methods

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

Method Details

__construct() public method

public __construct ( string $order = null )
$order string

applyToCollection() public method

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