Documentation

AnonymousNotifiable
in package

Table of Contents

$routes  : array<string|int, mixed>
All of the notification routing information.
getKey()  : mixed
Get the value of the notifiable's primary key.
notify()  : void
Send the given notification.
notifyNow()  : void
Send the given notification immediately.
route()  : $this
Add routing information to the target.
routeNotificationFor()  : mixed
Get the notification routing information for the given driver.

Properties

$routes

All of the notification routing information.

public array<string|int, mixed> $routes = []

Methods

getKey()

Get the value of the notifiable's primary key.

public getKey() : mixed
Return values
mixed

notify()

Send the given notification.

public notify(mixed $notification) : void
Parameters
$notification : mixed
Return values
void

notifyNow()

Send the given notification immediately.

public notifyNow(mixed $notification) : void
Parameters
$notification : mixed
Return values
void

route()

Add routing information to the target.

public route(string $channel, mixed $route) : $this
Parameters
$channel : string
$route : mixed
Return values
$this

routeNotificationFor()

Get the notification routing information for the given driver.

public routeNotificationFor(string $driver) : mixed
Parameters
$driver : string
Return values
mixed

Search results