A list of commands.
public __construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN'): void
Parameter | Type | Description |
---|
$name | string | |
$version | string | |
public add(Command $command): void
Parameter | Type | Description |
---|
$command | Command | |
public writeHelp(Output $output): void
Parameter | Type | Description |
---|
$output | Output | |
public getCommandObject(string $command): ?Command
Parameter | Type | Description |
---|
$command | string | |
public handleException(\Throwable $e): void
Parameter | Type | Description |
---|
$e | \Throwable | |
public handleError(int $errno, string $errstr, string $errfile, int $errline): bool
Parameter | Type | Description |
---|
$errno | int | |
$errstr | string | |
$errfile | string | |
$errline | int | |
Generated by Hazaar API Doc Generator