<?php
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
use App\Model\Core;
use Doctrine\Persistence\ManagerRegistry;
class IndexController extends CoreController
{
#[Route('/', name: 'index', methods: ['GET'])]
public function defaultindex(Request $request, AuthorizationCheckerInterface $authChecker,
ManagerRegistry $doctrine)
{
return $this->render('home/index.html.twig');
}
}