Action
final class Action
A class to represent a callable Action assigned to a Timer and all of it's properties.
Properties
| callable | $action | ||
| array | $callable_args | ||
| string | $id |
Methods
__construct(string $action_id, array $action)
Construct this action using the provided and default arguments.
mixed
do()
Do the action callable. Do the roar.
array
to_array()
Return the action as an associative array.
Details
at line 46
__construct(string $action_id, array $action)
Construct this action using the provided and default arguments.
at line 72
final mixed
do()
Do the action callable. Do the roar.
at line 83
final array
to_array()
Return the action as an associative array.