src/Controller/Doc/WebhookController.php line 28

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Controller\Doc;
  4. use App\Service\Doc\DocApiService;
  5. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  6. use Symfony\Component\HttpFoundation\Response;
  7. class WebhookController extends AbstractController
  8. {
  9.     public function __construct(
  10.         private DocApiService $docApiService
  11.     ) {
  12.     }
  13.     public function index(): Response
  14.     {
  15.         return $this->render('Doc/Webhook/index.html.twig');
  16.     }
  17.     public function orderEvents(): Response
  18.     {
  19.         return $this->render('Doc/Webhook/Events/events-order.html.twig');
  20.     }
  21.     public function syncEvents(): Response
  22.     {
  23.         return $this->render('Doc/Webhook/Events/events-sync.html.twig');
  24.     }
  25.     public function signatures(): Response
  26.     {
  27.         return $this->render('Doc/Webhook/signatures.html.twig');
  28.     }
  29. }