Méthode | Description | |
---|---|---|
__construct ( BigName\EventDispatcher\Containers\Container $container = null ) | ||
addLazyListener ( $name, $listener ) | ||
addListener ( $name, BigName\EventDispatcher\Listener $listener ) | ||
dispatch ( $events ) | ||
getAnyListeners ( $name ) | ||
getLazyListeners ( $name ) | ||
getListeners ( $name ) | ||
hasLazyListeners ( $name ) | ||
hasListeners ( $name ) |
Méthode | Description | |
---|---|---|
fireEvent ( BigName\EventDispatcher\Event $event ) | ||
fireEvents ( array $events ) |
public __construct ( BigName\EventDispatcher\Containers\Container $container = null ) | ||
$container | BigName\EventDispatcher\Containers\Container |
public addListener ( $name, BigName\EventDispatcher\Listener $listener ) | ||
$listener | BigName\EventDispatcher\Listener |