Elemental

Commander
in package

Table of Contents

$args  : mixed
$commands  : array<string|int, mixed>
__construct()  : mixed
addCommand()  : mixed
getArgs()  : mixed
getInstance()  : mixed
registerCommands()  : mixed
resolveCommand()  : mixed
setArgs()  : mixed

Properties

$commands

private array<string|int, mixed> $commands = []

Methods

__construct()

public __construct() : mixed
Return values
mixed

addCommand()

public addCommand(mixed $key, mixed $instance) : mixed
Parameters
$key : mixed
$instance : mixed
Return values
mixed

getArgs()

public getArgs() : mixed
Return values
mixed

getInstance()

public getInstance(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

registerCommands()

public registerCommands() : mixed
Return values
mixed

resolveCommand()

public resolveCommand() : mixed
Return values
mixed

setArgs()

public setArgs(mixed $args) : mixed
Parameters
$args : mixed
Return values
mixed

Search results