DoctrineCloseConnectionMiddleware
extends AbstractDoctrineMiddleware
in package
Closes connection and therefore saves number of connections.
Tags
Table of Contents
Methods
Methods
handleForManager()
protected
handleForManager(EntityManagerInterface $entityManager, Envelope $envelope, StackInterface $stack) : Envelope
Parameters
- $entityManager : EntityManagerInterface
- $envelope : Envelope
- $stack : StackInterface