src/Controller/IndexController.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Component\HttpFoundation\Response;
  4. use Symfony\Component\HttpFoundation\Request;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
  7. use App\Model\Core;
  8. use Doctrine\Persistence\ManagerRegistry;
  9. class IndexController extends CoreController
  10. {
  11.     #[Route('/'name'index'methods: ['GET'])]
  12.     public function defaultindex(Request $requestAuthorizationCheckerInterface $authChecker,
  13.             ManagerRegistry $doctrine)
  14.     {
  15.         return $this->render('home/index.html.twig');        
  16.     }
  17. }