ActivityHiddenManager
in
Interface ActivityHiddenManager.
Table of Contents
Methods
- clearCache() : void
- getCacheName() : string
- getHiddenFeeds() : array<int, mixed>
- Get hidden feeds based on user.
- isHide() : bool
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