class DoctrineTransactionMiddleware implements MiddlewareInterface

Wraps all handlers in a single doctrine transaction.

Methods

__construct(ManagerRegistry $managerRegistry, string|null $entityManagerName)

No description

mixed
handle($message, callable $next)

No description

Details

at line 28
__construct(ManagerRegistry $managerRegistry, string|null $entityManagerName)

Parameters

ManagerRegistry $managerRegistry
string|null $entityManagerName

at line 34
mixed handle($message, callable $next)

Parameters

$message
callable $next

Return Value

mixed