tokenManager = $tokenManager; } /** * @Route("/tos", name="tos") */ public function tosAction( Request $request ) { return $this->render( 'legal/tos.html.twig', [] ); } /** * @Route("/privacy", name="privacy") */ public function privacyAction( Request $request ) { // replace this example code with whatever you need return $this->render( 'legal/privacy.html.twig', [] ); } }