src/Controller/NotificationsController.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\HttpFoundation\JsonResponse;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
  8. #[Route('/notifications'name'notifications_')]
  9. class NotificationsController extends AbstractController
  10. {
  11.     #[Route('/list'name'list')]
  12.     public function notifyList(): Response
  13.     {
  14.         return $this->render('notifications/list.html.twig', [
  15.         ]);
  16.     }
  17.     
  18.     #[Route('/tap'name'jsontap')]
  19.     public function notifyTap(): JsonResponse
  20.     {
  21.         return $this->render('notifications/list.html.twig', [
  22.         ]);
  23.     }
  24.     
  25.     #[Route('/tapList'name'jsontaplist')]
  26.     public function notifyTapList(): JsonResponse
  27.     {
  28.         return $this->render('notifications/list.html.twig', [
  29.         ]);
  30.     }
  31.     
  32. }