Item state provider using the Doctrine ODM.
class ApiPlatform\Doctrine\Odm\State\ItemProvider implements ApiPlatform\State\ProviderInterface
{
public __construct($resourceMetadataCollectionFactory, Doctrine\Persistence\ManagerRegistry $managerRegistry, array<int, `<a href="/docs/main/references/Doctrine/Odm/Extension/AggregationItemExtensionInterface">ApiPlatform\Doctrine\Odm\Extension\AggregationItemExtensionInterface> $itemExtensions, null|Psr\Container\ContainerInterface $handleLinksLocator)
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object
}
public __construct($resourceMetadataCollectionFactory, Doctrine\Persistence\ManagerRegistry $managerRegistry, array<int, `<a href="/docs/main/references/Doctrine/Odm/Extension/AggregationItemExtensionInterface">ApiPlatform\Doctrine\Odm\Extension\AggregationItemExtensionInterface> $itemExtensions, null|Psr\Container\ContainerInterface $handleLinksLocator)
resourceMetadataCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface` | |
managerRegistry | Doctrine\Persistence\ManagerRegistry | |
itemExtensions | array<int, `ApiPlatform\Doctrine\Odm\Extension\AggregationItemExtensionInterface`> | |
handleLinksLocator | Psr\Container\ContainerInterface |
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object
operation | `ApiPlatform\Metadata\Operation` | |
uriVariables | array | |
context | array |
object
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