DefaultEventManager Class Reference
Detailed Description
DefaultEventManager is a simple EventManager implementation.
Definition at line 21 of file DefaultEventManager.php.
Inheritance diagram for DefaultEventManager:
Public Member Functions | |
addListener ($eventName, $callback) | |
removeListener ($eventName, $callback) | |
dispatch ($eventName, Event $event) | |
Member Function Documentation
◆ addListener()
addListener | ( | $eventName, | |
$callback | |||
) |
- See also
- EventManager::addListener()
Implements EventManager.
Definition at line 28 of file DefaultEventManager.php.
◆ removeListener()
removeListener | ( | $eventName, | |
$callback | |||
) |
- See also
- EventManager::removeListener()
Implements EventManager.
Definition at line 38 of file DefaultEventManager.php.
◆ dispatch()
dispatch | ( | $eventName, | |
Event | $event | ||
) |
- See also
- EventManager::dispatch()
Implements EventManager.
Definition at line 54 of file DefaultEventManager.php.