/** * @param IHttpResponse $response */ public function shutdownWithResponse(IHttpResponse $response) { $this->shutdown(); $response->send(); exit; }