public getExitCode ( ) : integer | ||
return | integer |
public function getExitCode()
{
return $this->exitCode;
}
/** * Starts the shutdown sequence * * @param string $runlevel one of the Bootstrap::RUNLEVEL_* constants * @return void */ protected function shutdown($runlevel) { $this->bootstrap->shutdown($runlevel); if ($runlevel === Bootstrap::RUNLEVEL_COMPILETIME) { $this->objectManager->get(LockManager::class)->unlockSite(); } exit($this->response->getExitCode()); }