ResourceCollection
extends ResourceCollection
in package
Table of Contents
Methods
- toArray() : array<string|int, mixed>|Arrayable|JsonSerializable
- Transform the resource into a JSON array.
Methods
toArray()
Transform the resource into a JSON array.
public
toArray(Request $request) : array<string|int, mixed>|Arrayable|JsonSerializable
Parameters
- $request : Request