You are here

public function CommandTester::__construct 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::__construct()

Constructor.

Parameters

Command $command A Command instance to test.:

File

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

Class

CommandTester
Eases the testing of console commands.

Namespace

Symfony\Component\Console\Tester

Code

public function __construct(Command $command) {
  $this->command = $command;
}