class DatabaseNotifications extends DatabaseNotifications (View source)

Traits

WithPagination

Properties

static bool $isPaginated from  DatabaseNotifications
static string|null $trigger from  DatabaseNotifications
static string|null $pollingInterval from  DatabaseNotifications
static string|null $authGuard from  DatabaseNotifications

Methods

void
refresh()

No description

void
removeNotification(string $id)

No description

void
markNotificationAsRead(string $id)

No description

void
markNotificationAsUnread(string $id)

No description

void
clearNotifications()

No description

Paginator
getNotifications()

No description

bool
isPaginated()

No description

Relation
getNotificationsQuery()

No description

Relation
getUnreadNotificationsQuery()

No description

string|null
getPollingInterval()

No description

View|null
getTrigger()

No description

Authenticatable|null
getUser()

No description

string|null
getBroadcastChannel()

No description

getNotification(DatabaseNotification $notification)

No description

string
formatNotificationDate(CarbonInterface $date)

No description

static void
trigger(string|null $trigger)

No description

static void
pollingInterval(string|null $interval)

No description

static void
authGuard(string|null $guard)

No description

View
render()

No description

Details

void refresh()

No description

Return Value

void

void removeNotification(string $id)

No description

Parameters

string $id

Return Value

void

void markNotificationAsRead(string $id)

No description

Parameters

string $id

Return Value

void

void markNotificationAsUnread(string $id)

No description

Parameters

string $id

Return Value

void

void clearNotifications()

No description

Return Value

void

void markAllNotificationsAsRead()

No description

Return Value

void

Paginator getNotifications()

No description

Return Value

Paginator

bool isPaginated()

No description

Return Value

bool

Relation getNotificationsQuery()

No description

Return Value

Relation

Relation getUnreadNotificationsQuery()

No description

Return Value

Relation

int getUnreadNotificationsCount()

No description

Return Value

int

string|null getPollingInterval()

No description

Return Value

string|null

View|null getTrigger()

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 getNotification(DatabaseNotification $notification)

No description

Parameters

DatabaseNotification $notification

Return Value

Notification

protected string formatNotificationDate(CarbonInterface $date)

No description

Parameters

CarbonInterface $date

Return Value

string

static void trigger(string|null $trigger)

No description

Parameters

string|null $trigger

Return Value

void

static void pollingInterval(string|null $interval)

No description

Parameters

string|null $interval

Return Value

void

static void authGuard(string|null $guard)

No description

Parameters

string|null $guard

Return Value

void

array queryStringHandlesPagination()

No description

Return Value

array

View render()

No description

Return Value

View