Bristol SU Support Package
|
Public Member Functions | |
__construct (ActionBuilderContract $builder) | |
handle (TriggerableEvent $event) | |
Private Attributes | |
$builder | |
Dispatches actions when TriggerableEvents are fired
Definition at line 14 of file ActionDispatcher.php.
BristolSU\Support\Action\ActionDispatcher::__construct | ( | ActionBuilderContract | $builder | ) |
Initialise the Action Dispatcher
ActionBuilderContract | $builder |
Definition at line 29 of file ActionDispatcher.php.
References BristolSU\Support\Action\ActionDispatcher\$builder.
BristolSU\Support\Action\ActionDispatcher::handle | ( | TriggerableEvent | $event | ) |
Dispatch any actions.
Finds all action instances in the database, builds each one and dispatches them
TriggerableEvent | $event | Event that has been fired. |
Definition at line 41 of file ActionDispatcher.php.
References BristolSU\Support\Action\Contracts\TriggerableEvent\getFields().
|
private |
Definition at line 22 of file ActionDispatcher.php.
Referenced by BristolSU\Support\Action\ActionDispatcher\__construct().