You are here

public function Output::setFormatter in Zircon Profile 8.0

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

Sets output formatter.

Parameters

OutputFormatterInterface $formatter:

Overrides OutputInterface::setFormatter

1 call to Output::setFormatter()
ConsoleOutput::setFormatter in vendor/symfony/console/Output/ConsoleOutput.php
Sets output formatter.
1 method overrides Output::setFormatter()
ConsoleOutput::setFormatter in vendor/symfony/console/Output/ConsoleOutput.php
Sets output formatter.

File

vendor/symfony/console/Output/Output.php, line 52

Class

Output
Base class for output classes.

Namespace

Symfony\Component\Console\Output

Code

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