trait HasNotifications (View source)

Properties

protected bool|Closure $hasDatabaseNotifications
protected bool|Closure $hasLazyLoadedDatabaseNotifications
protected string|Closure|null $databaseNotificationsPolling

Methods

databaseNotifications(bool|Closure $condition = true, bool|Closure $isLazy = true)

No description

lazyLoadedDatabaseNotifications(bool|Closure $condition = true)

No description

databaseNotificationsPolling(string|Closure|null $interval)

No description

bool
hasDatabaseNotifications()

No description

bool
string|null

Details

HasNotifications databaseNotifications(bool|Closure $condition = true, bool|Closure $isLazy = true)

No description

Parameters

bool|Closure $condition
bool|Closure $isLazy

Return Value

HasNotifications

HasNotifications lazyLoadedDatabaseNotifications(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasNotifications

HasNotifications databaseNotificationsPolling(string|Closure|null $interval)

No description

Parameters

string|Closure|null $interval

Return Value

HasNotifications

bool hasDatabaseNotifications()

No description

Return Value

bool

bool hasLazyLoadedDatabaseNotifications()

No description

Return Value

bool

string|null getDatabaseNotificationsPollingInterval()

No description

Return Value

string|null