write() write( $messages, \think\console\output\driver\bool $newline = false, \think\console\output\driver\int $type, $stream = null) Parameters $messages \think\console\output\driver\bool $newline \think\console\output\driver\int $type $stream
doWrite() doWrite(string $message, boolean $newline, null $stream = null) 将消息写入到输出。 Parameters string $message 消息 boolean $newline 是否另起一行 null $stream
stringWidth() stringWidth(\think\console\output\driver\string $string) Parameters \think\console\output\driver\string $string
splitStringByWidth() splitStringByWidth(\think\console\output\driver\string $string, \think\console\output\driver\int $width) Parameters \think\console\output\driver\string $string \think\console\output\driver\int $width