Listener
class Listener (View source)
Methods
__construct(callable|string $callable, int $priority)
Listener constructor.
mixed
call(array $data = [])
Launch the listener function
string
getActionType()
Returns the type of action
mixed
getAction()
Returns the action to launch
int
getPriority()
Retrieves the priority of the listener
Details
__construct(callable|string $callable, int $priority)
Listener constructor.
mixed
call(array $data = [])
Launch the listener function
string
getActionType()
Returns the type of action
mixed
getAction()
Returns the action to launch
int
getPriority()
Retrieves the priority of the listener