DoctrineHttp
in package
FinalYes
Tags
Table of Contents
Methods
- install() : ParamResolverRegistry
- Wires Doctrine DBAL HTTP integration into the application.
Methods
install()
Wires Doctrine DBAL HTTP integration into the application.
public
static install(ParamResolverRegistry $registry, array<int, object> &$middlewares, ConnectionPool $connPool[, ResponseFactoryInterface|null $responseFactory = null ]) : ParamResolverRegistry
Returns the updated (immutable) registry with ConnectionResolver appended. Appends ConnectionScopeMiddleware and PoolExhaustedToServiceUnavailable to the provided $middlewares list.
Parameters
- $registry : ParamResolverRegistry
- $middlewares : array<int, object>
- $connPool : ConnectionPool
- $responseFactory : ResponseFactoryInterface|null = null