Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 /**
  *
  */
 protected function shutdown()
 {
     $this->bootstrap->shutdown();
     exit($this->response->getExitCode());
 }