public function __invoke(Request $request, Response $response, $args) { $this->logger->info("Home page action dispatched"); $this->view->render($response, 'home.twig'); return $response; }