PhotoEmbed
extends JsonResource
in package
Uses
PhotoHasExtra
Class PhotoEmbed.
Table of Contents
Properties
Methods
- toArray() : array<string|int, mixed>
- Transform the resource collection into an array.
- getCustomExtra() : array<string, bool>
Properties
$resource
public
Photo
$resource
Methods
toArray()
Transform the resource collection into an array.
public
toArray(Request $request) : array<string|int, mixed>
Parameters
- $request : Request
Tags
Return values
array<string|int, mixed>getCustomExtra()
protected
getCustomExtra() : array<string, bool>