class ContentExtension implements QueryCollectionExtensionInterface, QueryItemExtensionInterface (View source)

Methods

__construct(Config $config)

No description

void
applyToCollection(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string|null $operationName = null)

No description

void
applyToItem(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, array $identifiers, string|null $operationName = null, array $context = [])

No description

Details

__construct(Config $config)

Parameters

Config $config

void applyToCollection(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string|null $operationName = null)

Parameters

QueryBuilder $queryBuilder
QueryNameGeneratorInterface $queryNameGenerator
string $resourceClass
string|null $operationName

Return Value

void

void applyToItem(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, array $identifiers, string|null $operationName = null, array $context = [])

Parameters

QueryBuilder $queryBuilder
QueryNameGeneratorInterface $queryNameGenerator
string $resourceClass
array $identifiers
string|null $operationName
array $context

Return Value

void