FeedForEdit
extends JsonResource
in package
Uses
PrivacyOptionsTrait, FeedSupport
Class FeedItem.
Tags
Table of Contents
Properties
Methods
- toArray() : array<string, mixed>
- Transform the resource collection into an array.
- getActionResource() : Entity
- getBackgroundStatus() : mixed
- getHideAllService() : ActivitySnoozeManager
- getHideFeedService() : ActivityHiddenManager
- getLocation() : array<string, mixed>|null
- getRoleLabelInOwner() : string|null
- getStatistic() : array<string, mixed>
- getTaggedFriendsForFeed() : array<string|int, mixed>
- getTypeManager() : TypeManager
Properties
$resource
public
Feed
$resource
Methods
toArray()
Transform the resource collection into an array.
public
toArray(Request $request) : array<string, mixed>
Parameters
- $request : Request
Tags
Return values
array<string, mixed>getActionResource()
protected
getActionResource() : Entity
Return values
EntitygetBackgroundStatus()
protected
getBackgroundStatus() : mixed
getHideAllService()
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