MetaFox

Friend extends Facade
in package

Class Friend Facade.

Tags
see
Friend

Table of Contents

Methods

getFriendship()  : int
getUsersForMention()  : Collection
isFriend()  : bool
getFacadeAccessor()  : string

Methods

getFriendship()

public static getFriendship(User $user, User $owner) : int
Parameters
$user : User
$owner : User
Return values
int

getUsersForMention()

public static getUsersForMention(array<string|int, mixed> $ids) : Collection
Parameters
$ids : array<string|int, mixed>
Return values
Collection

isFriend()

public static isFriend(User $user, User $owner) : bool
Parameters
$user : User
$owner : User
Return values
bool

getFacadeAccessor()

protected static getFacadeAccessor() : string
Return values
string

        
On this page

Search results