Notifiable
trait Notifiable (View source)
Traits
Methods
void
notifyNow(mixed $instance, array $channels = null)
Send the given notification immediately.
from
RoutesNotifications
mixed
routeNotificationFor(string $driver)
Get the notification routing information for the given driver.
from
RoutesNotifications
Details
notifications()
Get the entity's notifications.
readNotifications()
Get the entity's read notifications.
unreadNotifications()
Get the entity's unread notifications.
void
notify(mixed $instance)
Send the given notification.
void
notifyNow(mixed $instance, array $channels = null)
Send the given notification immediately.
mixed
routeNotificationFor(string $driver)
Get the notification routing information for the given driver.