class SendWebhookHandler{ public function __construct( private readonly TransportInterface
$transport,
) { } public function __invoke(SendWebhookMessage
$message): void
{ $this->transport->
send($message->
getSubscriber(),
$message->
getEvent());
}}