CliCommands
Table of Contents
-
$commands
: array<string|int, mixed>
-
add()
: mixed
-
current()
: mixed
-
matchCurrent()
: mixed
$commands
protected
array<string|int, mixed>
$commands
= []
add()
public
add(string $name, mixed $callable[, array<string|int, mixed> $paramNames = [] ][, array<string|int, mixed> $flagNames = [] ]) : mixed
Parameters
-
$name
: string
-
-
$callable
: mixed
-
-
$paramNames
: array<string|int, mixed>
= []
-
-
$flagNames
: array<string|int, mixed>
= []
-
Return values
mixed
—
current()
public
current() : mixed
Return values
mixed
—
matchCurrent()
public
matchCurrent() : mixed
Return values
mixed
—