‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Attribute\AsEventListener Class Reference

Public Member Functions

 __construct (public ?string $identifier=null, public ?string $event=null, public ?string $method=null, public ?string $before=null, public ?string $after=null,)

Public Attributes

const TAG_NAME = 'event.listener'

Detailed Description

Service tag to autoconfigure event listeners.

Definition at line 24 of file AsEventListener.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Attribute\AsEventListener::__construct ( public ?string  $identifier = null,
public ?string  $event = null,
public ?string  $method = null,
public ?string  $before = null,
public ?string  $after = null 

Definition at line 28 of file AsEventListener.php.

Member Data Documentation


const TYPO3\CMS\Core\Attribute\AsEventListener::TAG_NAME = 'event.listener'

Definition at line 26 of file AsEventListener.php.