Reference
C
Class

ApiPlatform\Doctrine\Odm\Extension\FilterExtension

Applies filters on a resource aggregation.

class ApiPlatform\Doctrine\Odm\Extension\FilterExtension implements `<a href="/docs/reference/Doctrine/Odm/Extension/AggregationCollectionExtensionInterface">ApiPlatform\Doctrine\Odm\Extension\AggregationCollectionExtensionInterface</a>`
{
    public __construct(Psr\Container\ContainerInterface $filterLocator)
    public applyToCollection(Doctrine\ODM\MongoDB\Aggregation\Builder $aggregationBuilder, string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
}
class ApiPlatform\Doctrine\Odm\Extension\FilterExtension implements `<a href="/docs/reference/Doctrine/Odm/Extension/AggregationCollectionExtensionInterface">ApiPlatform\Doctrine\Odm\Extension\AggregationCollectionExtensionInterface</a>`
{
    public __construct(Psr\Container\ContainerInterface $filterLocator)
    public applyToCollection(Doctrine\ODM\MongoDB\Aggregation\Builder $aggregationBuilder, 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\ODM\MongoDB\Aggregation\Builder $aggregationBuilder, string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
public applyToCollection(Doctrine\ODM\MongoDB\Aggregation\Builder $aggregationBuilder, string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null

Parameters

aggregationBuilderDoctrine\ODM\MongoDB\Aggregation\Builder
resourceClassstring
operationApiPlatform\Metadata\Operation
contextarray

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop