ActivityHiddenManager
in package
implements
ActivityHiddenManager
Table of Contents
Interfaces
- ActivityHiddenManager
- Interface ActivityHiddenManager.
Properties
- $hiddenList : array<int, array<string, mixed>>
Methods
- clearCache() : void
- getCacheName() : string
- getHiddenFeeds() : array<int, mixed>
- Get hidden feeds based on user.
- isHide() : bool
Properties
$hiddenList
private
array<int, array<string, mixed>>
$hiddenList
= []
Methods
clearCache()
public
clearCache(int $userId) : void
Parameters
- $userId : int
getCacheName()
public
getCacheName(int $userId) : string
Parameters
- $userId : int
Return values
stringgetHiddenFeeds()
Get hidden feeds based on user.
public
getHiddenFeeds(User $user) : array<int, mixed>
Parameters
- $user : User
Return values
array<int, mixed>isHide()
public
isHide(User $user, Feed $feed) : bool