You are here

public function ConsoleOutput::setDecorated in Zircon Profile 8

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

Sets the decorated flag.

Parameters

bool $decorated Whether to decorate the messages:

Overrides Output::setDecorated

1 call to ConsoleOutput::setDecorated()
ConsoleOutput::__construct in vendor/symfony/console/Output/ConsoleOutput.php
Constructor.

File

vendor/symfony/console/Output/ConsoleOutput.php, line 58

Class

ConsoleOutput
ConsoleOutput is the default class for all CLI output. It uses STDOUT.

Namespace

Symfony\Component\Console\Output

Code

public function setDecorated($decorated) {
  parent::setDecorated($decorated);
  $this->stderr
    ->setDecorated($decorated);
}