Bristol SU Support Package
Public Member Functions | List of all members
BristolSU\Support\Events\Contracts\EventRepository Interface Reference
Inheritance diagram for BristolSU\Support\Events\Contracts\EventRepository:
Inheritance graph
[legend]

Public Member Functions

 allForModule (string $alias)
 

Detailed Description

Access to events registered by modules

Definition at line 10 of file EventRepository.php.

Member Function Documentation

◆ allForModule()

BristolSU\Support\Events\Contracts\EventRepository::allForModule ( string  $alias)

Get all events a module has registered

Returns events in the form [ 'name' => 'Event Name', 'description' => 'Event Description', 'event' => 'EventClassName' ]

Parameters
string$aliasModule alias
Returns
array

Implemented in BristolSU\Support\Events\EventRepository.


The documentation for this interface was generated from the following file: