class
Illuminate
/
Notifications
/
AnonymousNotifiable
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
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.