You are here

public function OutputInterface::setFormatter in Zircon Profile 8.0

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

Sets output formatter.

Parameters

OutputFormatterInterface $formatter:

3 methods override OutputInterface::setFormatter()
NullOutput::setFormatter in vendor/symfony/console/Output/NullOutput.php
Sets output formatter.
Output::setFormatter in vendor/symfony/console/Output/Output.php
Sets output formatter.
OutputStyle::setFormatter in vendor/symfony/console/Style/OutputStyle.php
Sets output formatter.

File

vendor/symfony/console/Output/OutputInterface.php, line 87

Class

OutputInterface
OutputInterface is the interface implemented by all Output classes.

Namespace

Symfony\Component\Console\Output

Code

public function setFormatter(OutputFormatterInterface $formatter);