DoctrinePingConnectionMiddleware
extends AbstractDoctrineMiddleware
in package
Checks whether the connection is still open or reconnects otherwise.
Tags
Table of Contents
Methods
- handleForManager() : Envelope
- pingConnection() : mixed
Methods
handleForManager()
protected
handleForManager(EntityManagerInterface $entityManager, Envelope $envelope, StackInterface $stack) : Envelope
Parameters
- $entityManager : EntityManagerInterface
- $envelope : Envelope
- $stack : StackInterface
Return values
EnvelopepingConnection()
private
pingConnection(EntityManagerInterface $entityManager) : mixed
Parameters
- $entityManager : EntityManagerInterface