Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConsoleOutput.php

function ConsoleOutput::setDecorated

Overrides Output::setDecorated

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

File

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

Class

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

Namespace

Symfony\Component\Console\Output

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal