class AnonymousNotifiable

Properties

array $routes

All of the notification routing information.

Methods

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

at line 23
AnonymousNotifiable route(string $channel, mixed $route)

Add routing information to the target.

Parameters

string $channel
mixed $route

Return Value

AnonymousNotifiable

Exceptions

InvalidArgumentException

at line 37
void notify(mixed $notification)

Send the given notification.

Parameters

mixed $notification

Return Value

void

at line 47
void notifyNow(mixed $notification)

Send the given notification immediately.

Parameters

mixed $notification

Return Value

void

at line 57
mixed routeNotificationFor(string $driver)

Get the notification routing information for the given driver.

Parameters

string $driver

Return Value

mixed

at line 67
mixed getKey()

Get the value of the notifiable's primary key.

Return Value

mixed