<?php
declare(strict_types=1);
namespace App\Controller\Doc;
use App\Service\Doc\DocApiService;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
class WebhookController extends AbstractController
{
public function __construct(
private DocApiService $docApiService
) {
}
public function index(): Response
{
return $this->render('Doc/Webhook/index.html.twig');
}
public function orderEvents(): Response
{
return $this->render('Doc/Webhook/Events/events-order.html.twig');
}
public function syncEvents(): Response
{
return $this->render('Doc/Webhook/Events/events-sync.html.twig');
}
public function signatures(): Response
{
return $this->render('Doc/Webhook/signatures.html.twig');
}
}