MetaFox

FeedEmbed extends JsonResource
in package
Uses HasStatistic, ShareFeedInfoTrait

Class PhotoGroupEmbed.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Table of Contents

Constants

DEFAULT_LOADED  = 4

Properties

$resource  : PhotoGroup

Methods

getStatistic()  : array<string, mixed>
toArray()  : array<string, mixed>
Transform the resource collection into an array.
toFeedContent()  : string|null
toLocation()  : array<string|int, mixed>|null
getFeedTransformContent()  : string|null
parseFeedHashtags()  : string
getFeedInfo()  : string
getSharedFeedInfos()  : array<string|int, mixed>

Constants

DEFAULT_LOADED

public mixed DEFAULT_LOADED = 4

Properties

Methods

getStatistic()

public getStatistic() : array<string, mixed>
Return values
array<string, mixed>

toArray()

Transform the resource collection into an array.

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

getFeedInfo()

private getFeedInfo() : string
Return values
string

getSharedFeedInfos()

private getSharedFeedInfos() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results