trait HasActions (View source)

Properties

protected Action[] $cachedActions
protected array $actions
protected Action|null $action

Methods

action(Action|null $action)

No description

registerActions(array $actions)

No description

Action|null
getAction(string|array|null $name = null)

No description

array
getActions()

No description

array
cacheActions()

No description

prepareAction(Action $action)

No description

Details

HasActions action(Action|null $action)

No description

Parameters

Action|null $action

Return Value

HasActions

HasActions registerActions(array $actions)

No description

Parameters

array $actions

Return Value

HasActions

Action|null getAction(string|array|null $name = null)

No description

Parameters

string|array|null $name

Return Value

Action|null

array getActions()

No description

Return Value

array

array cacheActions()

No description

Return Value

array

Action prepareAction(Action $action)

No description

Parameters

Action $action

Return Value

Action