Documentation

ProductResourceCollection extends ResourceCollection
in package

Table of Contents

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

Methods

toArray()

Transform the resource collection into an array.

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

Search results