interface WebhookDispatcher

Methods

void
dispatch(Application $application, string $event, array $data = [], Connection|null $connection = null)

Dispatch a webhook for the given event if the app has it configured.

Details

at line 15
void dispatch(Application $application, string $event, array $data = [], Connection|null $connection = null)

Dispatch a webhook for the given event if the app has it configured.

Parameters

Application $application
string $event
array $data
Connection|null $connection

Return Value

void