UserBlocked
extends Facade
in package
Class UserBlocked.
Tags
Table of Contents
Methods
- blockUser() : bool
- clearCache() : void
- getBlockedUserIds() : array<string|int, mixed>
- getBlockedUsers() : array<string|int, mixed>
- getBlockedUsersCollection() : Collection
- getBlockUserDetail() : UserEntity
- isBlocked() : bool
- unBlockUser() : bool
- getFacadeAccessor() : string
Methods
blockUser()
public
static blockUser(User $user, User $owner) : bool
Parameters
Return values
boolclearCache()
public
static clearCache(int $userId) : void
Parameters
- $userId : int
getBlockedUserIds()
public
static getBlockedUserIds(User $user) : array<string|int, mixed>
Parameters
- $user : User
Return values
array<string|int, mixed>getBlockedUsers()
public
static getBlockedUsers(User $user) : array<string|int, mixed>
Parameters
- $user : User
Return values
array<string|int, mixed>getBlockedUsersCollection()
public
static getBlockedUsersCollection(User $user, string $search) : Collection
Parameters
- $user : User
- $search : string
Return values
CollectiongetBlockUserDetail()
public
static getBlockUserDetail(User $user, User $owner) : UserEntity
Parameters
Return values
UserEntityisBlocked()
public
static isBlocked(User $user, User $owner) : bool
Parameters
Return values
boolunBlockUser()
public
static unBlockUser(User $user, User $owner) : bool
Parameters
Return values
boolgetFacadeAccessor()
protected
static getFacadeAccessor() : string