function OutputStyle::getErrorOutput
1 call to OutputStyle::getErrorOutput()
- SymfonyStyle::getErrorStyle in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Returns a new instance which makes use of stderr if available.
File
-
vendor/
symfony/ console/ Style/ OutputStyle.php, line 107
Class
- OutputStyle
- Decorates output to add console style guide helpers.
Namespace
Symfony\Component\Console\StyleCode
protected function getErrorOutput() : OutputInterface {
if (!$this->output instanceof ConsoleOutputInterface) {
return $this->output;
}
return $this->output
->getErrorOutput();
}