ActivitySnoozeManager
in package
implements
ActivitySnoozeManager
Table of Contents
Interfaces
- ActivitySnoozeManager
- Interface ActivitySnoozeManager
Properties
- $snoozedList : array<int, array<string, mixed>>
Methods
- clearCache() : void
- getCacheName() : string
- getSnoozedUsers() : array<int, array<string, mixed>>
- Get hidden users of user.
- isHideAll() : bool
- isSnooze() : bool
Properties
$snoozedList
private
array<int, array<string, mixed>>
$snoozedList
= []
Methods
clearCache()
public
clearCache(int $userId) : void
Parameters
- $userId : int
getCacheName()
public
getCacheName(int $userId) : string
Parameters
- $userId : int
Return values
stringgetSnoozedUsers()
Get hidden users of user.
public
getSnoozedUsers(User $user) : array<int, array<string, mixed>>
Parameters
- $user : User
Return values
array<int, array<string, mixed>>isHideAll()
public
isHideAll(User $user[, User|null $owner = null ]) : bool
Parameters
Return values
boolisSnooze()
public
isSnooze(User $user[, User|null $owner = null ]) : bool