Guides
Tutorials
Fixes filters on OneToMany associations https://github.com/api-platform/core/issues/944.
class ApiPlatform\Doctrine\Orm\Extension\FilterEagerLoadingExtension implements `<a href="/docs/reference/Doctrine/Orm/Extension/QueryCollectionExtensionInterface">ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface</a>`
{
public __construct(bool $forceEager, null|ApiPlatform\Api\ResourceClassResolverInterface $resourceClassResolver)
public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
}
class ApiPlatform\Doctrine\Orm\Extension\FilterEagerLoadingExtension implements `<a href="/docs/reference/Doctrine/Orm/Extension/QueryCollectionExtensionInterface">ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface</a>`
{
public __construct(bool $forceEager, null|ApiPlatform\Api\ResourceClassResolverInterface $resourceClassResolver)
public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
}
public __construct(bool $forceEager, null|ApiPlatform\Api\ResourceClassResolverInterface $resourceClassResolver)
public __construct(bool $forceEager, null|ApiPlatform\Api\ResourceClassResolverInterface $resourceClassResolver)
forceEager | bool | |
resourceClassResolver | ApiPlatform\Api\ResourceClassResolverInterface |
public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
public applyToCollection(Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, null|string $resourceClass, null|ApiPlatform\Metadata\Operation $operation, array $context): null
queryBuilder | Doctrine\ORM\QueryBuilder | |
queryNameGenerator | ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface | |
resourceClass | string | |
operation | ApiPlatform\Metadata\Operation | |
context | array |
null