MetaFox

UserBlocked extends Facade
in package

Class UserBlocked.

Tags
see
UserBlockedSupportContract

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

clearCache()

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
Collection

getFacadeAccessor()

protected static getFacadeAccessor() : string
Return values
string

        
On this page

Search results