You are here

public function CommandTester::getOutput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tester/CommandTester.php \Symfony\Component\Console\Tester\CommandTester::getOutput()

Gets the output instance used by the last execution of the command.

Return value

OutputInterface The current output instance

File

vendor/symfony/console/Tester/CommandTester.php, line 118

Class

CommandTester
Eases the testing of console commands.

Namespace

Symfony\Component\Console\Tester

Code

public function getOutput() {
  return $this->output;
}