You are here

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

Gets the status code returned by the last execution of the application.

Return value

int The status code

File

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

Class

CommandTester
Eases the testing of console commands.

Namespace

Symfony\Component\Console\Tester

Code

public function getStatusCode() {
  return $this->statusCode;
}