Свойство | Тип | Описание | |
---|---|---|---|
$listeners | list of listeners |
Метод | Описание | |
---|---|---|
attach ( string $eventName, callable $callback, integer $priority = 1 ) : |
Attach callback to event | |
trigger ( string $event, string | object $target = null, array | object $params = null ) : string | object | Trigger event |
Метод | Описание | |
---|---|---|
fire ( array $listeners, |
Fire! |