BeforeMessengerDoctrineCloseEvent implements StoppableEventInterface
FinalYes
Dispatched by the DoctrineCloseConnectionMiddleware before a database connection is closed after a worker handled a received message. Listeners may skip closing a specific connection, for example when it should be kept open across messages.
Table of Contents
Interfaces
- StoppableEventInterface
Methods
- __construct() : mixed
- getConnectionName() : string
- isPropagationStopped() : bool
- shouldSkip() : bool
- skip() : void
Methods
__construct()
public
__construct(string $connectionName) : mixed
Parameters
- $connectionName : string
getConnectionName()
public
getConnectionName() : string
Return values
stringisPropagationStopped()
public
isPropagationStopped() : bool
Return values
boolshouldSkip()
public
shouldSkip() : bool
Return values
boolskip()
public
skip() : void