You are here

public function OutputStyle::setFormatter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Style/OutputStyle.php \Symfony\Component\Console\Style\OutputStyle::setFormatter()

Sets output formatter.

Parameters

OutputFormatterInterface $formatter:

Overrides OutputInterface::setFormatter

File

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

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

public function setFormatter(OutputFormatterInterface $formatter) {
  $this->output
    ->setFormatter($formatter);
}