src/Controller/HomeController.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\Routing\Annotation\Route;
  5. use Symfony\Component\HttpFoundation\Response;
  6. class HomeController extends AbstractController
  7. {
  8.     /**
  9.     * @Route("/", name="home")
  10.     */
  11.     
  12.     public function index(): Response
  13.     {
  14.         // dump('test');
  15.         // die();
  16.         return $this->render('home/index.html.twig', [
  17.             'controller_name' => 'HomeController',
  18.         ]);
  19.     }
  20. }