You are here

protected function BufferedOutput::doWrite in Zircon Profile 8

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

Writes a message to the output.

Parameters

string $message A message to write to the output:

bool $newline Whether to add a newline or not:

Overrides Output::doWrite

File

vendor/symfony/console/Output/BufferedOutput.php, line 40

Class

BufferedOutput
@author Jean-François Simon <contact@jfsimon.fr>

Namespace

Symfony\Component\Console\Output

Code

protected function doWrite($message, $newline) {
  $this->buffer .= $message;
  if ($newline) {
    $this->buffer .= "\n";
  }
}