AsEventListener
in package
Service tag to autoconfigure event listeners.
Tags
Table of Contents
Properties
- $dispatcher : string|null
- $event : string|null
- $method : string|null
- $priority : int
Methods
- __construct() : mixed
Attributes
#[Attribute]
#[Attribute]
Properties
$dispatcher
public
string|null
$dispatcher
= null
$event
public
string|null
$event
= null
$method
public
string|null
$method
= null
$priority
public
int
$priority
= 0
Methods
__construct()
public
__construct([string|null $event = null ][, string|null $method = null ][, int $priority = 0 ][, string|null $dispatcher = null ]) : mixed
Parameters
- $event : string|null = null
- $method : string|null = null
- $priority : int = 0
- $dispatcher : string|null = null