src/Aviatur/SearchBundle/Controller/DocumentationController.php line 12

Open in your IDE?
  1. <?php
  2. namespace Aviatur\SearchBundle\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Session\SessionInterface;
  5. use Aviatur\TwigBundle\Services\TwigFolder;
  6. use Aviatur\DocumentationBundle\Services\DocumentationService;
  7. class DocumentationController extends AbstractController {
  8.     public function indexAction(TwigFolder $twigFolderSessionInterface $sessionDocumentationService $documentationService) {
  9.         $agencyFolder $twigFolder->twigFlux();
  10.         $infoDocumentation $documentationService->documentationInfo($session->get('agencyId'));
  11.         return $this->render($twigFolder->twigExists('@AviaturTwig/'$agencyFolder .'/Search/Documentation/documentationSearch_index.html.twig'), ['infoDocumentation' => $infoDocumentation]);
  12.     }
  13. }