class CLI (View source)

CLI interface.

Methods

__construct()

No description

int
run()

No description

void
mergeLongOpts(array $params, array $longopts)

No description

void
usageHighlight()

No description

array|false
getopt(string $opt, array $long)

No description

array|false
parseHighlight()

No description

int
runHighlight()

No description

void
usageLint()

No description

array|false
parseLint()

No description

int
runLint()

No description

void
usageTokenize()

No description

array|false
parseTokenize()

No description

int
runTokenize()

No description

string|false|null
readStdin()

No description

Details

__construct()

No description

int run()

No description

Return Value

int

void mergeLongOpts(array $params, array $longopts)

No description

Parameters

array $params
array $longopts

Return Value

void

void usageHighlight()

No description

Return Value

void

array|false getopt(string $opt, array $long)

No description

Parameters

string $opt
array $long

Return Value

array|false

array|false parseHighlight()

No description

Return Value

array|false

int runHighlight()

No description

Return Value

int

void usageLint()

No description

Return Value

void

array|false parseLint()

No description

Return Value

array|false

int runLint()

No description

Return Value

int

void usageTokenize()

No description

Return Value

void

array|false parseTokenize()

No description

Return Value

array|false

int runTokenize()

No description

Return Value

int

string|false|null readStdin()

No description

Return Value

string|false|null