PhotoGroupDetail
extends JsonResource
in package
Uses
HasStatistic, HasFeedParam, IsLikedTrait, ExtraTrait
Class PhotoGroupDetail.
Tags
Table of Contents
Constants
- DEFAULT_LOADED = 4
Properties
Methods
- getExtra() : array<string|int, mixed>
- getStatistic() : array<string, mixed>
- isLike() : bool
- toArray() : array<string, mixed>
- Transform the resource collection into an array.
- getFeedParams() : FeedParamDetail
Constants
DEFAULT_LOADED
public
mixed
DEFAULT_LOADED
= 4
Properties
$resource
public
PhotoGroup
$resource
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>isLike()
public
isLike(User $context[, Entity|null $content = null ]) : bool
Parameters
Return values
booltoArray()
Transform the resource collection into an array.
public
toArray(Request $request) : array<string, mixed>
Parameters
- $request : Request
Tags
Return values
array<string, mixed>getFeedParams()
protected
getFeedParams() : FeedParamDetail