RegisterTriggersEvent
extends Event
in package
Table of Contents
- $_triggers : array<string|int, mixed>
- add() : mixed
- Add a trigger
- addMany() : mixed
- Add many triggers
- getTriggers() : array<string|int, mixed>
- Triggers getter
- init() : mixed
Properties
$_triggers
public
array<string|int, mixed>
$_triggers
= []
Methods
add()
Add a trigger
public
add(TriggerInterface $trigger[, bool $replaceIfExists = false ]) : mixed
Parameters
- $trigger : TriggerInterface
- $replaceIfExists : bool = false
Return values
mixed —addMany()
Add many triggers
public
addMany(array<string|int, mixed> $triggers[, bool $replaceIfExists = false ]) : mixed
Parameters
- $triggers : array<string|int, mixed>
- $replaceIfExists : bool = false
Return values
mixed —getTriggers()
Triggers getter
public
getTriggers() : array<string|int, mixed>
Return values
array<string|int, mixed> —init()
public
init() : mixed