You are here

public function ConsoleOutput::setErrorOutput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Output/ConsoleOutput.php \Symfony\Component\Console\Output\ConsoleOutput::setErrorOutput()

Sets the OutputInterface used for errors.

Parameters

OutputInterface $error:

Overrides ConsoleOutputInterface::setErrorOutput

File

vendor/symfony/console/Output/ConsoleOutput.php, line 93

Class

ConsoleOutput
ConsoleOutput is the default class for all CLI output. It uses STDOUT.

Namespace

Symfony\Component\Console\Output

Code

public function setErrorOutput(OutputInterface $error) {
  $this->stderr = $error;
}