/** * Exits the CLI through the dispatcher * An exit status code can be specified @see http://www.php.net/exit * * @param integer $exitCode Exit code to return on exit * @return void * @throws \TYPO3\FLOW3\Mvc\Exception\StopActionException */ protected function quit($exitCode = 0) { $this->response->setExitCode($exitCode); throw new \TYPO3\FLOW3\Mvc\Exception\StopActionException(); }