classe Listener (Voir la source)

Méthodes

__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

mixed
getPriority()

Retrieves the priority of the listener

Détails

__construct(callable|string $callable, int $priority)

Listener constructor.

Paramètres

callable|string $callable
int $priority

mixed call(array $data = [])

Launch the listener function

Paramètres

array $data

Valeur de retour

mixed

string getActionType()

Returns the type of action

Valeur de retour

string

mixed getAction()

Returns the action to launch

Valeur de retour

mixed

mixed getPriority()

Retrieves the priority of the listener

Valeur de retour

mixed