<?php
declare(strict_types=1);
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
class HomeController extends AbstractController
{
#[IsGranted('ROLE_USER')]
#[Route(path: '/', name: 'home')]
public function home(): Response
{
return $this->render('index.html.twig', [
]);
}
}