Свойство | Type | Description | |
---|---|---|---|
$common | |||
$reg |
Méthode | Description | |
---|---|---|
__construct ( array $common = [] ) | ||
__destruct ( ) | ||
add ( string $ev, callable $cb, integer $priority ) : string | Add callback on a event. | |
del ( string $ref ) | Remove previous registered callback. | |
emit ( string $ev, array $data = [] ) : array | Emit event to notify registered callbacks. | |
exists ( string $ev ) : boolean | ||
getRegistry ( ) : array |
public getRegistry ( ) : array | ||
Résultat | array | List of registered events. |