src/Controller/PlatformController.php line 18

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace App\Controller;
  3. use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. /**
  8.  * @IsGranted("ROLE_USER")
  9.  */
  10. class PlatformController extends AbstractController
  11. {
  12.     /**
  13.      * @Route("/", name="choose_platform")
  14.      */
  15.     public function choosePlatform(): Response
  16.     {
  17.         return $this->render('platform/choose_platform.html.twig');
  18.     }
  19. }