class SlackNotificationRouterChannel

Methods

__construct(Container $app)

Create a new Slack notification router channel.

Response|ResponseInterface|null
send(mixed $notifiable, Notification $notification)

Send the given notification.

determineChannel(mixed $route)

Determine which channel the Slack notification should be routed to.

Details

at line 20
__construct(Container $app)

Create a new Slack notification router channel.

Parameters

Container $app

at line 28
Response|ResponseInterface|null send(mixed $notifiable, Notification $notification)

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

Response|ResponseInterface|null

at line 42
protected SlackChannel|SlackWebhookChannel determineChannel(mixed $route)

Determine which channel the Slack notification should be routed to.

Parameters

mixed $route

Return Value

SlackChannel|SlackWebhookChannel