MetaFox

FeedEmbed extends JsonResource
in package
Uses FeedSupport

Class FeedEmbed.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Table of Contents

Properties

$resource  : Feed

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

Methods

toArray()

Transform the resource collection into an array.

public toArray(Request $request) : array<string, mixed>
Parameters
$request : Request
Tags
throws
AuthenticationException
Return values
array<string, mixed>

getBackgroundStatus()

protected getBackgroundStatus() : mixed

getLocation()

protected getLocation() : array<string, mixed>|null
Return values
array<string, mixed>|null

getRoleLabelInOwner()

protected getRoleLabelInOwner(User|null $user, User|null $owner) : string|null
Parameters
$user : User|null
$owner : User|null
Return values
string|null

getStatistic()

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
throws
AuthorizationException
Return values
array<string|int, mixed>

        
On this page

Search results