/** * Sends the response and exits the CLI without any further code execution * Should be used for commands that flush code caches. * * @param integer $exitCode Exit code to return on exit * @return void */ protected function sendAndExit($exitCode = 0) { $this->response->send(); die($exitCode); }
/** * */ protected function shutdown() { $this->bootstrap->shutdown(); exit($this->response->getExitCode()); }