Bristol SU Support Package
|
Public Member Functions | |
__construct (EventManagerContract $manager) | |
allForModule (string $alias) | |
Private Attributes | |
$manager | |
Event repository using the event manager to resolve events
Definition at line 13 of file EventRepository.php.
BristolSU\Support\Events\EventRepository::__construct | ( | EventManagerContract | $manager | ) |
EventManagerContract | $manager |
Definition at line 25 of file EventRepository.php.
References BristolSU\Support\Events\EventRepository\$manager.
BristolSU\Support\Events\EventRepository::allForModule | ( | string | $alias | ) |
Get all events a module has registered with the manager
Returns events in the form [ 'name' => 'Event Name', 'description' => 'Event Description', 'event' => 'EventClassName' ]
string | $alias | Module alias |
Implements BristolSU\Support\Events\Contracts\EventRepository.
Definition at line 44 of file EventRepository.php.
|
private |
Definition at line 20 of file EventRepository.php.
Referenced by BristolSU\Support\Events\EventRepository\__construct().