ConsoleOutput
ConsoleOutput
class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
ConsoleOutput is the default class for all CLI output. It uses STDOUT.
This class is a convenient wrapper around StreamOutput
.
$output = new ConsoleOutput();
This is equivalent to:
$output = new StreamOutput(fopen('php://stdout', 'w'));
Methods
__construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, 登录查看完整内容
|