class SlackNotificationRouterChannel

Methods

__construct(Container $container)

Create a new Slack notification router channel.

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 18
__construct(Container $container)

Create a new Slack notification router channel.

Parameters

Container $container

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

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

ResponseInterface|null

at line 40
protected SlackWebApiChannel|SlackWebhookChannel determineChannel(mixed $route)

Determine which channel the Slack notification should be routed to.

Parameters

mixed $route

Return Value

SlackWebApiChannel|SlackWebhookChannel