BeforeMessengerDoctrinePingEvent

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

Implements
StoppableEventInterface

Dispatched by the DoctrinePingConnectionMiddleware before a database connection is pinged (and transparently reconnected) ahead of a worker handling a received message. Listeners may skip the ping for a specific connection, for example when a connection must not be touched between 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