Collection state provider using the Doctrine ORM.
class ApiPlatform\Doctrine\Orm\State\CollectionProvider implements ApiPlatform\State\ProviderInterface
{
public __construct($resourceMetadataCollectionFactory, Doctrine\Persistence\ManagerRegistry $managerRegistry, array<int, `<a href="/docs/main/references/Doctrine/Orm/Extension/QueryCollectionExtensionInterface">ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface> $collectionExtensions, null|Psr\Container\ContainerInterface $handleLinksLocator)
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): iterable
}
public __construct($resourceMetadataCollectionFactory, Doctrine\Persistence\ManagerRegistry $managerRegistry, array<int, `<a href="/docs/main/references/Doctrine/Orm/Extension/QueryCollectionExtensionInterface">ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface> $collectionExtensions, null|Psr\Container\ContainerInterface $handleLinksLocator)
resourceMetadataCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface` | |
managerRegistry | Doctrine\Persistence\ManagerRegistry | |
collectionExtensions | array<int, `ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface`> | |
handleLinksLocator | Psr\Container\ContainerInterface |
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): iterable
operation | `ApiPlatform\Metadata\Operation` | |
uriVariables | array | |
context | array |
iterable
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more