private function ConsoleOutput::openOutputStream in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Output/ConsoleOutput.php \Symfony\Component\Console\Output\ConsoleOutput::openOutputStream()
Return value
resource
1 call to ConsoleOutput::openOutputStream()
- ConsoleOutput::__construct in vendor/
symfony/ console/ Output/ ConsoleOutput.php - Constructor.
File
- vendor/
symfony/ console/ Output/ ConsoleOutput.php, line 140
Class
- ConsoleOutput
- ConsoleOutput is the default class for all CLI output. It uses STDOUT.
Namespace
Symfony\Component\Console\OutputCode
private function openOutputStream() {
$outputStream = $this
->hasStdoutSupport() ? 'php://stdout' : 'php://output';
return @fopen($outputStream, 'w') ?: fopen('php://output', 'w');
}