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()) : string|mixed

描述参数

Parameters

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

Returns

string|mixed

describeInputOption()

describeInputOption(\think\console\input\Option  $option, array  $options = array()) : string|mixed

描述选项

Parameters

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

Returns

string|mixed

describeInputDefinition()

describeInputDefinition(\think\console\input\Definition  $definition, array  $options = array()) : string|mixed

描述输入

Parameters

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

Returns

string|mixed

describeCommand()

describeCommand(\think\console\Command  $command, array  $options = array()) : string|mixed

描述指令

Parameters

\think\console\Command $command
array $options

Returns

string|mixed

describeConsole()

describeConsole(\think\Console  $console, array  $options = array()) : string|mixed

描述控制台

Parameters

\think\Console $console
array $options

Returns

string|mixed

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\output\Namespaces>  $namespaces) : integer

Parameters

array<mixed,\think\console\output\Namespaces> $namespaces

Returns

integer

calculateTotalWidthForOptions()

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

Parameters

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

Returns

integer