Action
Table of Contents
Methods
- __construct() : Action
- Class constructor.
- create() : Action
- Class constructor.
- getCommand() : string
- getParameter() : mixed
- getParameters() : array<string|int, mixed>
- setCommand() : mixed
- setParameters() : mixed
- toJson() : mixed
Methods
__construct()
Class constructor.
public
__construct(string $command[, array<string|int, mixed> $parameters = [] ]) : Action
Parameters
- $command : string
- $parameters : array<string|int, mixed> = []
Return values
Actioncreate()
Class constructor.
public
static create(string $command[, array<string|int, mixed> $parameters = [] ]) : Action
Parameters
- $command : string
- $parameters : array<string|int, mixed> = []
Return values
ActiongetCommand()
public
getCommand() : string
Return values
stringgetParameter()
public
getParameter(mixed $name) : mixed
Parameters
- $name : mixed
getParameters()
public
getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>setCommand()
public
setCommand(string $command) : mixed
Parameters
- $command : string
setParameters()
public
setParameters(array<string|int, mixed> $parameters) : mixed
Parameters
- $parameters : array<string|int, mixed>
toJson()
public
toJson() : mixed