function StreamOutput::doWrite
Overrides Output::doWrite
8 calls to StreamOutput::doWrite()
- ConsoleSectionOutput::clear in vendor/
symfony/ console/ Output/ ConsoleSectionOutput.php - Clears previous output for this section.
- ConsoleSectionOutput::clear in vendor/
symfony/ console/ Output/ ConsoleSectionOutput.php - Clears previous output for this section.
- ConsoleSectionOutput::doWrite in vendor/
symfony/ console/ Output/ ConsoleSectionOutput.php - Writes a message to the output.
- ConsoleSectionOutput::doWrite in vendor/
symfony/ console/ Output/ ConsoleSectionOutput.php - Writes a message to the output.
- ConsoleSectionOutput::popStreamContentUntilCurrentSection in vendor/
symfony/ console/ Output/ ConsoleSectionOutput.php - At initial stage, cursor is at the end of stream output. This method makes cursor crawl upwards until it hits current section. Then it erases content it crawled through. Optionally, it erases part of current section too.
1 method overrides StreamOutput::doWrite()
- ConsoleSectionOutput::doWrite in vendor/
symfony/ console/ Output/ ConsoleSectionOutput.php - Writes a message to the output.
File
-
vendor/
symfony/ console/ Output/ StreamOutput.php, line 66
Class
- StreamOutput
- StreamOutput writes the output to a given stream.
Namespace
Symfony\Component\Console\OutputCode
protected function doWrite(string $message, bool $newline) : void {
if ($newline) {
$message .= \PHP_EOL;
}
@fwrite($this->stream, $message);
fflush($this->stream);
}