trait Notifiable

Traits

Methods

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.

mixed
routeNotificationFor(string $driver)

Get the notification routing information for the given driver.

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.

Parameters

mixed $instance

Return Value

void

mixed routeNotificationFor(string $driver)

Get the notification routing information for the given driver.

Parameters

string $driver

Return Value

mixed