SubscriberInterface
Interface for event subscribers.
| since |
2.0.0 |
|---|---|
| package |
Joomla Framework |
Methods
getSubscribedEvents
Returns an array of events this subscriber will listen to.
getSubscribedEvents() : mixed||string|int
static
The array keys are event names and the value can be:
- The method name to call (priority defaults to 0)
- An array composed of the method name to call and the priority
For instance:
- array('eventName' => 'methodName')
- array('eventName' => array('methodName', $priority))
| since |
2.0.0 |
|---|
Response
array<string|int, mixed>