Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.traiteur-75.fr_1689065491
/
htdocs
/
src
/
Controller
/
back
/
/srv/data/trash/vhost_www.traiteur-75.fr_1689065491/htdocs/src/Controller/back/AdminController.php
<?php namespace App\Controller\back; use App\Repository\CategoryRepository; use App\Repository\SubCategoryRepository; use Doctrine\Persistence\ManagerRegistry; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; class AdminController extends AbstractController { /** * @Route("/admin", name="admin") */ public function index(CategoryRepository $categoryRepo, SubCategoryRepository $subCategoryRepo): Response { return $this->render('back/admin/index.html.twig', [ 'slug' => 'admin', ]); } }