class
Illuminate
/
Notifications
/
AnonymousNotifiable
You are viewing an older version of the documentation. For the latest, please visit master documentation.
AnonymousNotifiable
Properties
public
$routes array
All of the notification routing information.
Default: []
Methods
public
route ( $channel , $route ) : $this
Add routing information to the target.
Parameters
- $channel string
- $route mixed
public
notify ( $notification ) : void
Send the given notification.
Parameters
- $notification mixed
public
notifyNow ( $notification ) : void
Send the given notification immediately.
Parameters
- $notification mixed
public
routeNotificationFor ( $driver ) : mixed
Get the notification routing information for the given driver.
Parameters
- $driver string
public
getKey ( ) : mixed
Get the value of the notifiable's primary key.