/** * Init done? Continue to the deeper layers for the output. */ protected function run() { $router = new Router(); try { $responseData = $router->route($this->request); $this->response->setMessageBody($responseData); } catch (RouteNotFoundException $e) { $this->response->notFound(); } }