Documentation

CliCommands
in package

Table of Contents

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

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 = [] ]) : 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

Search results