<?phpnamespace App\Controller;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\Routing\Annotation\Route;class LegalNoticesController extends AbstractController{ /** * @Route("/legal-notices", name="legal-notices", methods={"GET"}) */ public function showLegalNotices() { return $this->render('legal-notices/index.html.twig', ['menu' => 'legal-notices']); }}