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

Breadcrumb

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

function OutputStyle::setFormatter

Overrides OutputInterface::setFormatter

File

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

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

public function setFormatter(OutputFormatterInterface $formatter) : void {
    $this->output
        ->setFormatter($formatter);
}
RSS feed
Powered by Drupal