/** * Render response and send it to the client */ public function send() { if (Util\Debug::isActivated()) { $this->add(Util\Debug::getInstance()); } $this->response->setContent($this->render()); return $this->response; }