<?phpnamespace App\Controller;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\Routing\Annotation\Route;/** * @Route("/terms", name="terms") */final class TermsController extends AbstractController{ /** * @return Response */ public function __invoke(): Response { return $this->render('terms/'.$this->getParameter('locale').'.html.twig'); }}