FlashMessageService implements SingletonInterface

A class representing flash messages.

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Properties

$flashMessageQueues  : array<string|int, FlashMessageQueue>
Array of \TYPO3\CMS\Core\Messaging\FlashMessageQueue objects

Methods

getMessageQueueByIdentifier()  : FlashMessageQueue
Return the message queue for the given identifier.

Properties

$flashMessageQueues

Array of \TYPO3\CMS\Core\Messaging\FlashMessageQueue objects

protected array<string|int, FlashMessageQueue> $flashMessageQueues = []

Methods

getMessageQueueByIdentifier()

Return the message queue for the given identifier.

public getMessageQueueByIdentifier([string $identifier = 'core.template.flashMessages' ]) : FlashMessageQueue

If no queue exists, an empty one will be created.

Parameters
$identifier : string = 'core.template.flashMessages'
Return values
FlashMessageQueue

        
On this page

Search results