AnonymousNotifiable

class AnonymousNotifiable (View source)

Properties

array $routes All of the notification routing information.

Methods

$this route(string $channel, mixed $route)

Add routing information to the target.

void notify(mixed $notification)

Send the given notification.

void notifyNow(mixed $notification)

Send the given notification immediately.

mixed routeNotificationFor(string $driver)

Get the notification routing information for the given driver.

mixed getKey()

Get the value of the notifiable's primary key.

Details

$this route(string $channel, mixed $route)

Add routing information to the target.

Parameters

string $channel
mixed $route

Return Value

$this

void notify(mixed $notification)

Send the given notification.

Parameters

mixed $notification

Return Value

void

void notifyNow(mixed $notification)

Send the given notification immediately.

Parameters

mixed $notification

Return Value

void

mixed routeNotificationFor(string $driver)

Get the notification routing information for the given driver.

Parameters

string $driver

Return Value

mixed

mixed getKey()

Get the value of the notifiable's primary key.

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Notifications/AnonymousNotifiable.html