Command
extends Component
in package
implements
ICommand
AbstractYes
Tags
Table of Contents
Interfaces
Properties
- $command : string
- A string representation of this command
- $parameters : array<string|int, mixed>
- A list of parameters that were passes as arguments in this command
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- __toString() : mixed
- extends() : bool
- getCommand() : string
- getParameters() : array<string|int, mixed>
- getReflection() : ReflectionClass
- init() : mixed
- setCommand() : mixed
- Sets the string representation of this command instance
Properties
$command
A string representation of this command
protected
string
$command
$parameters
A list of parameters that were passes as arguments in this command
protected
array<string|int, mixed>
$parameters
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct(string $command) : mixed
Parameters
- $command : string
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
__toString()
public
__toString() : mixed
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetCommand()
public
getCommand() : string
Return values
stringgetParameters()
public
getParameters() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassinit()
protected
init() : mixed
setCommand()
Sets the string representation of this command instance
private
setCommand(string $command) : mixed
Parameters
- $command : string