DoctrineOrmHttp
in package
FinalYes
Tags
Table of Contents
Methods
- installOrm() : ParamResolverRegistry
- Wires Doctrine ORM HTTP integration into the application.
Methods
installOrm()
Wires Doctrine ORM HTTP integration into the application.
public
static installOrm(ParamResolverRegistry $registry, array<int, object> &$middlewares, EntityManagerPool $emPool[, ResponseFactoryInterface|null $responseFactory = null ]) : ParamResolverRegistry
Returns the updated (immutable) registry with EntityManagerResolver appended. Appends EntityManagerScopeMiddleware and PoolExhaustedToServiceUnavailable to the provided $middlewares list.
Parameters
- $registry : ParamResolverRegistry
- $middlewares : array<int, object>
- $emPool : EntityManagerPool
- $responseFactory : ResponseFactoryInterface|null = null