src/Controller/ArticleController.php line 28

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 ArticleController extends AbstractController
  7. {
  8.     #[Route('/article/le-centre-esthetique-maison-eiffel-recommande-4-soins-pour-avoir-une-peau-lumineuse-en-plein-hiver'name'article')]
  9.     public function index(): Response
  10.     {
  11.         return $this->render('article/index.html.twig', [
  12.             'controller_name' => 'ArticleController',
  13.         ]);
  14.     }
  15.     #[Route('/article/les-3-soins-stars-de-la-parisienne-pour-bien-commencer-la-saison'name'article1')]
  16.     public function article1(): Response
  17.     {
  18.         return $this->render('article/index2.html.twig', [
  19.             'controller_name' => 'ArticleController',
  20.         ]);
  21.     }
  22.     #[Route('/article/lasers-peeling-radiofrequence-des-traitements-de-reference-pour-une-peau-parfaite'name'article2')]
  23.     public function article2(): Response
  24.     {
  25.         return $this->render('article/index3.html.twig', [
  26.             'controller_name' => 'ArticleController',
  27.         ]);
  28.     }
  29.     #[Route('/article/morpheus-une-avancee-spectaculaire-dans-le-domaine-de-la-beaute-a-tester-a-la-maison-eiffel'name'article3')]
  30.     public function article3(): Response
  31.     {
  32.         return $this->render('article/index4.html.twig', [
  33.             'controller_name' => 'ArticleController'
  34.         ]);
  35.     }
  36. }