class NotificationAlert (View source)

Properties

protected int|null $naID
protected User $user
protected Notification $notification
protected bool $naIsArchived

Methods

bool
isNotificationArchived()

No description

setNotificationIsArchived(bool $naIsArchived)

No description

getUser()

No description

setUser(User $user)

No description

getNotification()

No description

setNotification(Notification $notification)

No description

int|null
getNotificationAlertID()

No description

Details

bool isNotificationArchived()

No description

Return Value

bool

setNotificationIsArchived(bool $naIsArchived)

No description

Parameters

bool $naIsArchived

User getUser()

No description

Return Value

User

setUser(User $user)

No description

Parameters

User $user

Notification getNotification()

No description

Return Value

Notification

setNotification(Notification $notification)

No description

Parameters

Notification $notification

int|null getNotificationAlertID()

No description

Return Value

int|null

returns NULL if not yet flushed to the database