Méthode | Description | |
---|---|---|
receive ( string $input = null ) : array | false | Retrieve the incoming webhook request as sent. | |
subscribe ( string $event, callable $callback ) : void | Subscribe to an incoming webhook request. The callback will be invoked when a matching webhook is received. |
Méthode | Description | |
---|---|---|
dispatchWebhookEvent ( string $event, array $data ) : void | Call any subscribed callbacks for this event | |
processWebhook ( string $input ) : array | false | Process the raw request into a PHP array and dispatch any matching subscription callbacks |