BeforeMessengerDoctrineCloseEvent

final class \TYPO3\CMS\Core\Messenger\Event\BeforeMessengerDoctrineCloseEvent

Implements
StoppableEventInterface

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

string

isPropagationStopped()

public isPropagationStopped() : bool

Return values

bool

shouldSkip()

public shouldSkip() : bool

Return values

bool
On this page