Bånder

LibraryResource extends JsonResource
in package
uses HasJsonCollection

Tags
mixin

Table of Contents

Methods

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

Methods

collection()

public static collection(mixed $resource) : mixed
Parameters
$resource : mixed

toArray()

Transform the resource into an array.

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

        
On this page

Search results