MetaFox

AlbumDetail extends JsonResource
in package
Uses ExtraTrait, HasStatistic, HasFeedParam

Class AlbumDetail.

Table of Contents

Properties

$resource  : Album

Methods

getExtra()  : array<string|int, mixed>
getStatistic()  : array<string, mixed>
toArray()  : array<string, mixed>
Transform the resource collection into an array.
canShare()  : array<string|int, mixed>
getFeedParams()  : FeedParamDetail

Properties

Methods

getExtra()

public getExtra() : array<string|int, mixed>
Return values
array<string|int, mixed>

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
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

throws
AuthenticationException
Return values
array<string, mixed>

canShare()

protected canShare(array<string|int, mixed> $extra) : array<string|int, mixed>
Parameters
$extra : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results