PHP 클래스 think\console\output\Descriptor

파일 보기 프로젝트 열기: top-think/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$output think\console\Output

공개 메소드들

메소드 설명
describe ( Output $output, $object, array $options = [] )

보호된 메소드들

메소드 설명
describeCommand ( Command $command, array $options = [] ) : string | mixed 描述指令
describeConsole ( Console $console, array $options = [] ) : string | mixed 描述控制台
describeInputArgument ( Argument $argument, array $options = [] ) : string | mixed 描述参数
describeInputDefinition ( Definition $definition, array $options = [] ) : string | mixed 描述输入
describeInputOption ( Option $option, array $options = [] ) : string | mixed 描述选项
write ( string $content, boolean $decorated = false ) 输出内容

비공개 메소드들

메소드 설명
calculateTotalWidthForOptions ( Option[] $options ) : integer
formatDefaultValue ( mixed $default ) : string 格式化
getColumnWidth ( array $commands ) : integer
writeText ( $content, array $options = [] )

메소드 상세

describe() 공개 메소드

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

describeCommand() 보호된 메소드

描述指令
protected describeCommand ( Command $command, array $options = [] ) : string | mixed
$command think\console\Command
$options array
리턴 string | mixed

describeConsole() 보호된 메소드

描述控制台
protected describeConsole ( Console $console, array $options = [] ) : string | mixed
$console think\Console
$options array
리턴 string | mixed

describeInputArgument() 보호된 메소드

描述参数
protected describeInputArgument ( Argument $argument, array $options = [] ) : string | mixed
$argument think\console\input\Argument
$options array
리턴 string | mixed

describeInputDefinition() 보호된 메소드

描述输入
protected describeInputDefinition ( Definition $definition, array $options = [] ) : string | mixed
$definition think\console\input\Definition
$options array
리턴 string | mixed

describeInputOption() 보호된 메소드

描述选项
protected describeInputOption ( Option $option, array $options = [] ) : string | mixed
$option think\console\input\Option
$options array
리턴 string | mixed

write() 보호된 메소드

输出内容
protected write ( string $content, boolean $decorated = false )
$content string
$decorated boolean

프로퍼티 상세

$output 보호되어 있는 프로퍼티

protected Output,think\console $output
리턴 think\console\Output