Properties

Methods

describe()

describe(\think\console\Output  $output,   $object, array  $options = array()) 

{@inheritdoc}

Parameters

\think\console\Output $output
$object
array $options

write()

write(string  $content, boolean  $decorated = false) 

输出内容

Parameters

string $content
boolean $decorated

describeInputArgument()

describeInputArgument(\think\console\input\Argument  $argument, array  $options = array()) : void

描述参数

Parameters

\think\console\input\Argument $argument
array $options

describeInputOption()

describeInputOption(\think\console\input\Option  $option, array  $options = array()) : void

描述选项

Parameters

\think\console\input\Option $option
array $options

describeInputDefinition()

describeInputDefinition(\think\console\input\Definition  $definition, array  $options = array()) : void

描述输入

Parameters

\think\console\input\Definition $definition
array $options

describeCommand()

describeCommand(\think\console\Command  $command, array  $options = array()) : void

描述指令

Parameters

\think\console\Command $command
array $options

describeConsole()

describeConsole(\think\Console  $console, array  $options = array()) : void

描述控制台

Parameters

\think\Console $console
array $options

writeText()

writeText(  $content, array  $options = array()) 

{@inheritdoc}

Parameters

$content
array $options

formatDefaultValue()

formatDefaultValue(mixed  $default) : string

格式化

Parameters

mixed $default

Returns

string

getColumnWidth()

getColumnWidth(array<mixed,\think\console\Command>  $commands) : integer

Parameters

array<mixed,\think\console\Command> $commands

Returns

integer

calculateTotalWidthForOptions()

calculateTotalWidthForOptions(array<mixed,\think\console\input\Option>  $options) : integer

Parameters

array<mixed,\think\console\input\Option> $options

Returns

integer