/** * @param Application $app * @param $template */ public function display(Application $app, $template) { $this->response = new Response($app->getTemplateManager()->getTemplate()->render($app->getConfManager()->getPathUserTemplate() . '/' . $template, $app->getTemplateData()), Response::HTTP_OK, array('content-type' => 'text/html')); $this->response->send(); }