Documentation

CliCommands
in package

Table of Contents

$commands  : array<string|int, mixed>
add()  : void
current()  : mixed
matchCurrent()  : array<string|int, mixed>|null

Properties

$commands

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

Methods

add()

public add(string $name, mixed $callable[, array<string|int, mixed> $paramNames = [] ][, array<string|int, mixed> $flagNames = [] ]) : void
Parameters
$name : string
$callable : mixed
$paramNames : array<string|int, mixed> = []
$flagNames : array<string|int, mixed> = []
Return values
void

current()

public current() : mixed
Return values
mixed

matchCurrent()

public matchCurrent() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

Search results