<?phpnamespace App\Controller;use Doctrine\Persistence\ManagerRegistry;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\Routing\Annotation\Route;class TemplateController extends AbstractController{ /** * * @Route("/", methods={"GET"}) * */ public function index(): Response { return $this->render('base/index.html.twig', []); }}