Nexus API Reference

DoctrineOrmHttp
in package

FinalYes
Tags
psalm-api

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
Tags
param-out

list $middlewares

Return values
ParamResolverRegistry

        
On this page

Search results