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

Breadcrumb

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

function OutputStyle::getErrorOutput

1 call to OutputStyle::getErrorOutput()
SymfonyStyle::getErrorStyle in vendor/symfony/console/Style/SymfonyStyle.php
Returns a new instance which makes use of stderr if available.

File

vendor/symfony/console/Style/OutputStyle.php, line 107

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

protected function getErrorOutput() : OutputInterface {
    if (!$this->output instanceof ConsoleOutputInterface) {
        return $this->output;
    }
    return $this->output
        ->getErrorOutput();
}

API Navigation

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