/** * Close the connexion */ public function close() { $this->sendHeaders(); $this->httpResponse->write($this->data); $this->httpResponse->close(); }