You are here

public function ConsoleExceptionEvent::getExitCode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Event/ConsoleExceptionEvent.php \Symfony\Component\Console\Event\ConsoleExceptionEvent::getExitCode()

Gets the exit code.

Return value

int The command exit code

File

vendor/symfony/console/Event/ConsoleExceptionEvent.php, line 63

Class

ConsoleExceptionEvent
Allows to handle exception thrown in a command.

Namespace

Symfony\Component\Console\Event

Code

public function getExitCode() {
  return $this->exitCode;
}