Method |
Description |
|
__call ( $method, $args ) |
|
|
__construct ( $driver = 'console' ) |
|
|
ask ( Input $input, $question, $default = null, $validator = null ) |
|
|
askHidden ( Input $input, $question, $validator = null ) |
|
|
choice ( Input $input, $question, array $choices, $default = null ) |
|
|
confirm ( Input $input, $question, $default = true ) |
|
|
describe ( $object, array $options = [] ) |
|
|
getVerbosity ( ) |
|
|
isDebug ( ) |
|
|
isQuiet ( ) |
|
|
isVerbose ( ) |
|
|
isVeryVerbose ( ) |
|
|
newLine ( integer $count = 1 ) |
输出空行 |
|
renderException ( Exception $e ) |
|
|
setVerbosity ( $level ) |
|
|
write ( string $messages, boolean $newline = false, integer $type = self::OUTPUT_NORMAL ) |
输出信息 |
|
writeln ( string $messages, integer $type = self::OUTPUT_NORMAL ) |
输出信息并换行 |
|