original_string: public function indexAction()
      {
          $footerContentId = $this->container->getParameter('ezdemo.footer.content_id');
          $footerContent = $this->getRepository()->getContentService()->loadContent($footerContentId);
  
          $response = new Response();
          $response->setPublic();
          $response->setSharedMaxAge(86400);
          $response->headers->set('X-Location-Id', $footerContent->contentInfo->mainLocationId);
          $response->setVary('X-User-Hash');
  
          return $this->render(
              'eZDemoBundle::page_footer.html.twig',
              array('content' => $footerContent),
              $response
          );
      }
code: public function indexAction()
      {
          $footerContentId = $this->container->getParameter('ezdemo.footer.content_id');
          $footerContent = $this->getRepository()->getContentService()->loadContent($footerContentId);
  
          $response = new Response();
          $response->setPublic();
          $response->setSharedMaxAge(86400);
          $response->headers->set('X-Location-Id', $footerContent->contentInfo->mainLocationId);
          $response->setVary('X-User-Hash');
  
          return $this->render(
              'eZDemoBundle::page_footer.html.twig',
              array('content' => $footerContent),
              $response
          );
      }
code_tokens: public function indexAction ( ) { $ footerContentId = $ this -> container -> getParameter ( 'ezdemo.footer.content_id' ) ; $ footerContent = $ this -> getRepository ( ) -> getContentService ( ) -> loadContent ( $ footerContentId ) ; $ response = new Response ( ) ; $ response -> setPublic ( ) ; $ response -> setSharedMaxAge ( 86400 ) ; $ response -> headers -> set ( 'X-Location-Id' , $ footerContent -> contentInfo -> mainLocationId ) ; $ response -> setVary ( 'X-User-Hash' ) ; return $ this -> render ( 'eZDemoBundle::page_footer.html.twig' , array ( 'content' => $ footerContent ) , $ response ) ; }
docstring: Footer main action.
  
  @return Response
docstring_tokens: Footer main action .