public function ConsoleTerminateEvent::setExitCode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Event/ConsoleTerminateEvent.php \Symfony\Component\Console\Event\ConsoleTerminateEvent::setExitCode()
Sets the exit code.
Parameters
int $exitCode The command exit code:
1 call to ConsoleTerminateEvent::setExitCode()
- ConsoleTerminateEvent::__construct in vendor/
symfony/ console/ Event/ ConsoleTerminateEvent.php
File
- vendor/
symfony/ console/ Event/ ConsoleTerminateEvent.php, line 44
Class
- ConsoleTerminateEvent
- Allows to manipulate the exit code of a command after its execution.
Namespace
Symfony\Component\Console\EventCode
public function setExitCode($exitCode) {
$this->exitCode = (int) $exitCode;
}