src/Controller/PatientenController.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Request;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. /**
  7.  * @Route("/patienten")
  8.  */
  9. class PatientenController extends AbstractController
  10. {
  11.     /**
  12.      * @Route("/", name="pat_home")
  13.      */
  14.     public function homeAction()
  15.     {
  16.         return $this->render('patienten/home.html.twig', array(
  17.             // ...
  18.         ));
  19.     }
  20.     /**
  21.      * @Route("/verstehen", name="pat_morbus")
  22.      */
  23.     public function morbusAction()
  24.     {
  25.         return $this->render('patienten/morbus.html.twig', array(
  26.             // ...
  27.         ));
  28.     }
  29.     /**
  30.      * @Route("/alltag", name="pat_alltag")
  31.      */
  32.     public function alltagAction()
  33.     {
  34.         return $this->render('patienten/alltag.html.twig', array(
  35.             // ...
  36.         ));
  37.     }
  38.     /**
  39.      * @Route("/hilfe", name="pat_hilfe")
  40.      */
  41.     public function hilfeAction()
  42.     {
  43.         return $this->render('patienten/hilfe.html.twig', array(
  44.             // ...
  45.         ));
  46.     }
  47. }