class Notifications extends Notifications (View source)

Properties

bool $isFilamentNotificationsComponent from  Notifications
Collection $notifications from  Notifications
protected $listeners from  Notifications

Methods

void
mount()

No description

void
pullNotificationsFromSession()

No description

void
pushNotificationFromEvent(array $notification)

No description

void
removeNotification(string $id)

No description

void
clearDatabaseNotifications()

No description

DatabaseNotificationCollection
getDatabaseNotifications()

No description

Relation
Relation
void
handleBroadcastNotification($notification)

No description

void
pushNotification(Notification $notification)

No description

bool
hasDatabaseNotifications()

No description

string|null
getPollingInterval()

No description

View|null
Authenticatable|null
getUser()

No description

string|null
getBroadcastChannel()

No description

getNotificationFromDatabaseRecord(DatabaseNotification $notification)

No description

string
formatNotificationDate(CarbonInterface $date)

No description

View
render()

No description

Details

void mount()

No description

Return Value

void

void pullNotificationsFromSession()

No description

Return Value

void

void pushNotificationFromEvent(array $notification)

No description

Parameters

array $notification

Return Value

void

void removeNotification(string $id)

No description

Parameters

string $id

Return Value

void

void clearDatabaseNotifications()

No description

Return Value

void

void markAllDatabaseNotificationsAsRead()

No description

Return Value

void

DatabaseNotificationCollection getDatabaseNotifications()

No description

Return Value

DatabaseNotificationCollection

Relation getDatabaseNotificationsQuery()

No description

Return Value

Relation

Relation getUnreadDatabaseNotificationsQuery()

No description

Return Value

Relation

int getUnreadDatabaseNotificationsCount()

No description

Return Value

int

void handleBroadcastNotification($notification)

No description

Parameters

$notification

Return Value

void

protected void pushNotification(Notification $notification)

No description

Parameters

Notification $notification

Return Value

void

bool hasDatabaseNotifications()

No description

Return Value

bool

string|null getPollingInterval()

No description

Return Value

string|null

View|null getDatabaseNotificationsTrigger()

No description

Return Value

View|null

Authenticatable|null getUser()

No description

Return Value

Authenticatable|null

string|null getBroadcastChannel()

No description

Return Value

string|null

Notification getNotificationFromDatabaseRecord(DatabaseNotification $notification)

No description

Parameters

DatabaseNotification $notification

Return Value

Notification

protected string formatNotificationDate(CarbonInterface $date)

No description

Parameters

CarbonInterface $date

Return Value

string

View render()

No description

Return Value

View