/**
  * Exits the CLI through the dispatcher and makes sure that Flow is properly shut down.
  *
  * If your command relies on functionality which is triggered through the Bootstrap
  * shutdown (such as the persistence framework), you must use quit() instead of exit().
  *
  * @param integer $exitCode Exit code to return on exit (see http://www.php.net/exit)
  * @throws \TYPO3\Flow\Mvc\Exception\StopActionException
  * @return void
  */
 protected function quit($exitCode = 0)
 {
     $this->response->setExitCode($exitCode);
     throw new StopActionException();
 }