public function show(Request $request, Response $response, $args) { $projects = new Projects($this->database); $this->view->render($response, 'project\\show.twig', array('projects' => $projects->GetAllProjects(), 'lang' => $this->language)); return $response; }