Свойство | Type | Description | |
---|---|---|---|
$cliExecutableName |
Méthode | Description | |
---|---|---|
__construct ( string | null $cliExecutableName = null ) |
Méthode | Description | |
---|---|---|
describeApplication ( |
||
describeCommand ( |
||
formatAliases ( array $aliases ) : string | ||
formatDefaultValue ( mixed $default ) : string | Formats input option/argument default value. | |
getColumnWidth ( array $commands ) : integer | ||
getTerminalWidth ( integer $default = 80 ) : integer | ||
writeText ( $content, array $options = [] ) |
public __construct ( string | null $cliExecutableName = null ) | ||
$cliExecutableName | string | null | The name of the CLI command. |
protected describeApplication ( |
||
$application | ||
$options | array |
protected describeCommand ( |
||
$command | ||
$options | array |
protected formatAliases ( array $aliases ) : string | ||
$aliases | array | |
Résultat | string |
protected formatDefaultValue ( mixed $default ) : string | ||
$default | mixed | |
Résultat | string |
protected getColumnWidth ( array $commands ) : integer | ||
$commands | array | |
Résultat | integer |
protected getTerminalWidth ( integer $default = 80 ) : integer | ||
$default | integer | |
Résultat | integer |