Bristol SU Support Package
|
Public Member Functions | |
registerEvent ($alias, $name, $class, $description) | |
all () | |
allForModule ($alias) | |
Register and retrieve events
Definition at line 10 of file EventManager.php.
BristolSU\Support\Events\Contracts\EventManager::all | ( | ) |
BristolSU\Support\Events\Contracts\EventManager::allForModule | ( | $alias | ) |
Get all events for a module
string | $alias | Module alias |
Implemented in BristolSU\Support\Events\EventManager.
BristolSU\Support\Events\Contracts\EventManager::registerEvent | ( | $alias, | |
$name, | |||
$class, | |||
$description | |||
) |
Register a new event
string | $alias | Module alias registering the event |
string | $name | Event Name |
string | $class | Event Class |
string | $description | Event Description |
Implemented in BristolSU\Support\Events\EventManager.