Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Hootlex
Friendships
Traits
Friendable
friends
Hootlex\Friendships\Traits\Friendable::friends PHP Method
Friendable Trait Documentation
Datei anzeigen
Open project: hootlex/laravel-friendships
friends()
public
method
public
friends
( ) :
Illuminate\Database\Eloquent\Relations\MorphMany
return
Illuminate\Database\Eloquent\Relations\MorphMany
public function friends() { return $this->morphMany(Friendship::class, 'sender'); }
Friendable
acceptFriendRequest
befriend
blockFriend
canBefriend
denyFriendRequest
findFriendship
findFriendships
friends
friendsOfFriendsQueryBuilder
getAcceptedFriendships
getAllFriendships
getBlockedFriendships
getDeniedFriendships
getFriendRequests
getFriends
getFriendsCount
getFriendsOfFriends
getFriendsQueryBuilder
getFriendship
getMutualFriends
getMutualFriendsCount
getMutualFriendsQueryBuilder
getOrPaginate
getPendingFriendships
groupFriend
groups
hasBlocked
hasFriendRequestFrom
hasSentFriendRequestTo
isBlockedBy
isFriendWith
unblockFriend
unfriend
ungroupFriend