public function ConsoleTerminateEvent::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Event/ConsoleTerminateEvent.php \Symfony\Component\Console\Event\ConsoleTerminateEvent::__construct()
Overrides ConsoleEvent::__construct
File
- vendor/
symfony/ console/ Event/ ConsoleTerminateEvent.php, line 32
Class
- ConsoleTerminateEvent
- Allows to manipulate the exit code of a command after its execution.
Namespace
Symfony\Component\Console\EventCode
public function __construct(Command $command, InputInterface $input, OutputInterface $output, $exitCode) {
parent::__construct($command, $input, $output);
$this
->setExitCode($exitCode);
}