class BufferedConsoleOutput extends BufferedOutput implements ConsoleOutputInterface (View source)

BufferedConsoleOutput supports separation of the stdout and stderr streams.

Properties

protected $stderr

Methods

__construct(int $verbosity = self::VERBOSITY_NORMAL, bool|null $decorated = false, OutputFormatterInterface $formatter = null)

No description

getErrorOutput()

{@inheritdoc}

setErrorOutput(OutputInterface $error)

{@inheritdoc}

Details

__construct(int $verbosity = self::VERBOSITY_NORMAL, bool|null $decorated = false, OutputFormatterInterface $formatter = null)

Parameters

int $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
bool|null $decorated Whether to decorate messages (null for auto-guessing)
OutputFormatterInterface $formatter Output formatter instance (null to use default OutputFormatter)

getErrorOutput()

{@inheritdoc}

setErrorOutput(OutputInterface $error)

{@inheritdoc}

Parameters

OutputInterface $error