FeedDetail
extends FeedItem
in package
Class FeedDetail.
Table of Contents
Properties
Methods
- toArray() : array<string, mixed>
- Transform the resource collection into an array.
- getActionResource() : Entity
- getBackgroundStatus() : mixed
- getEmbedObject() : JsonResource|null
- getHideAllService() : ActivitySnoozeManager
- getHideFeedService() : ActivityHiddenManager
- getLocation() : array<string, mixed>|null
- getRoleLabelInOwner() : string|null
- getStatistic() : array<string, mixed>
- getTaggedFriendsForFeed() : array<string|int, mixed>
- getTypeManager() : TypeManager
- isSponsored() : bool
- isTagged() : bool
- getRelatedComments() : mixed
Properties
$resource
public
Feed
$resource
$resource
public
Feed
$resource
Methods
toArray()
Transform the resource collection into an array.
public
toArray(mixed $request) : array<string, mixed>
Parameters
- $request : mixed
Return values
array<string, mixed>getActionResource()
protected
getActionResource() : Entity
Return values
EntitygetBackgroundStatus()
protected
getBackgroundStatus() : mixed
getEmbedObject()
protected
getEmbedObject(Entity $item) : JsonResource|null
Parameters
- $item : Entity
Return values
JsonResource|nullgetHideAllService()
protected
getHideAllService() : ActivitySnoozeManager
Return values
ActivitySnoozeManagergetHideFeedService()
protected
getHideFeedService() : ActivityHiddenManager
Return values
ActivityHiddenManagergetLocation()
protected
getLocation() : array<string, mixed>|null
Return values
array<string, mixed>|nullgetRoleLabelInOwner()
protected
getRoleLabelInOwner(User|null $user, User|null $owner) : string|null
Parameters
Return values
string|nullgetStatistic()
protected
getStatistic() : array<string, mixed>
Return values
array<string, mixed>getTaggedFriendsForFeed()
protected
getTaggedFriendsForFeed([int $limit = 10 ]) : array<string|int, mixed>
Parameters
- $limit : int = 10
Tags
Return values
array<string|int, mixed>getTypeManager()
protected
getTypeManager() : TypeManager
Return values
TypeManagerisSponsored()
protected
isSponsored(Request $request) : bool
Parameters
- $request : Request
Return values
boolisTagged()
protected
isTagged(User $owner, int $profileId[, array<string|int, mixed> $taggedFriends = [] ]) : bool
Parameters
- $owner : User
- $profileId : int
- $taggedFriends : array<string|int, mixed> = []
Return values
boolgetRelatedComments()
private
getRelatedComments(User $context[, Entity|null $content = null ]) : mixed