src/Controller/ExpertsController.php line 16

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. use Twig\Environment;
  7. class ExpertsController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/experts", name="experts_page")
  11.      */
  12.     public function experts(Environment $twig): Response
  13.     {
  14.         return $this->render('pages/experts.html.twig');
  15.     }
  16. }