getSubscriber example


class SendWebhookHandler
{
    public function __construct(
        private readonly TransportInterface $transport,
    ) {
    }

    public function __invoke(SendWebhookMessage $message): void
    {
        $this->transport->send($message->getSubscriber()$message->getEvent());
    }
}
Home | Imprint | This part of the site doesn't use cookies.