You are here

protected function TestOutput::doWrite in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Output/OutputTest.php \Symfony\Component\Console\Tests\Output\TestOutput::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/Tests/Output/OutputTest.php, line 152

Class

TestOutput

Namespace

Symfony\Component\Console\Tests\Output

Code

protected function doWrite($message, $newline) {
  $this->output .= $message . ($newline ? "\n" : '');
}