src/Controller/ChiSiamoController.php line 30

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. class ChiSiamoController extends AbstractController
  7. {
  8.     #[Route('/polo-sanitario-moderno'name'polo-sanitario-moderno'methods: ['GET''HEAD'])]
  9.     public function poloSanitarioModerno()
  10.     {
  11.         return new Response(
  12.             $this->renderView('pages/chi_siamo/polo_sanitario_moderno.html.twig'),
  13.             200
  14.         );
  15.     }
  16.     #[Route('/fondatore'name'fondatore'methods: ['GET''HEAD'])]
  17.     public function fondatore()
  18.     {
  19.         return new Response(
  20.             $this->renderView('pages/chi_siamo/fondatore.html.twig'),
  21.             200
  22.         );
  23.     }
  24.     #[Route('/universo-salute'name'universo-salute'methods: ['GET''HEAD'])]
  25.     public function universoSalute()
  26.     {
  27.         return new Response(
  28.             $this->renderView('pages/chi_siamo/universo_salute.html.twig'),
  29.             200
  30.         );
  31.     }
  32. }