Method | Description | |
---|---|---|
__construct ( ) | ||
addListener ( $event, $listener ) | ||
emit ( $event ) | ||
getListeners ( $event ) | ||
on ( $event, $listener ) | add a listener to the end of the listeners array for the specified event | |
removeAllListeners ( $event ) | ||
removeListener ( $event, $listener ) |
public on ( $event, $listener ) |