Reference
I
Interface

ApiPlatform\Doctrine\Orm\Extension\QueryItemExtensionInterface

Interface of Doctrine ORM query extensions for item queries.

interface ApiPlatform\Doctrine\Orm\Extension\QueryItemExtensionInterface
{
    public applyToItem(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, array $identifiers, null|ApiPlatform\Metadata\Operation $operation, array $context): null
}
interface ApiPlatform\Doctrine\Orm\Extension\QueryItemExtensionInterface
{
    public applyToItem(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, array $identifiers, null|ApiPlatform\Metadata\Operation $operation, array $context): null
}

Methods

applyToItem

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

Parameters

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

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop