DoctrineOpenTransactionLoggerMiddleware
extends AbstractDoctrineMiddleware
in package
Middleware to log when transaction has been left open.
Tags
Table of Contents
Properties
- $logger : mixed
Methods
- __construct() : mixed
- handleForManager() : Envelope
Properties
$logger
private
mixed
$logger
Methods
__construct()
public
__construct(ManagerRegistry $managerRegistry[, string $entityManagerName = null ][, LoggerInterface $logger = null ]) : mixed
Parameters
- $managerRegistry : ManagerRegistry
- $entityManagerName : string = null
- $logger : LoggerInterface = null
handleForManager()
protected
handleForManager(EntityManagerInterface $entityManager, Envelope $envelope, StackInterface $stack) : Envelope
Parameters
- $entityManager : EntityManagerInterface
- $envelope : Envelope
- $stack : StackInterface