RegisterActionsEvent
extends Event
in package
Table of Contents
- $_actions : array<string|int, mixed>
- add() : mixed
- Add an action
- addMany() : mixed
- Add many actions
- getActions() : array<string|int, mixed>
- Actions getter
- init() : mixed
Properties
$_actions
public
array<string|int, mixed>
$_actions
= []
Methods
add()
Add an action
public
add(ActionInterface $action[, bool $replaceIfExists = false ]) : mixed
Parameters
- $action : ActionInterface
- $replaceIfExists : bool = false
Return values
mixed —addMany()
Add many actions
public
addMany(array<string|int, mixed> $actions[, bool $replaceIfExists = false ]) : mixed
Parameters
- $actions : array<string|int, mixed>
- $replaceIfExists : bool = false
Return values
mixed —getActions()
Actions getter
public
getActions() : array<string|int, mixed>
Return values
array<string|int, mixed> —init()
public
init() : mixed