MetaFox

PhotoEmbed extends JsonResource
in package
Uses PhotoHasExtra

Class PhotoEmbed.

Table of Contents

Properties

$resource  : Photo

Methods

toArray()  : array<string|int, mixed>
Transform the resource collection into an array.
getCustomExtra()  : array<string, bool>

Properties

Methods

toArray()

Transform the resource collection into an array.

public toArray(Request $request) : array<string|int, mixed>
Parameters
$request : Request
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

throws
AuthenticationException|AuthorizationException
Return values
array<string|int, mixed>

getCustomExtra()

protected getCustomExtra() : array<string, bool>
Tags
throws
AuthenticationException
Return values
array<string, bool>

        
On this page

Search results