BgsCollectionItem
extends JsonResource
in package
Class BgsCollectionItem.
Tags
Table of Contents
Properties
- $preserveKeys : bool
- $resource : BgsCollection
Methods
- toArray() : array<string, mixed>
- Transform the resource collection into an array.
Properties
$preserveKeys
public
bool
$preserveKeys
= true
$resource
public
BgsCollection
$resource
Methods
toArray()
Transform the resource collection into an array.
public
toArray(Request $request) : array<string, mixed>
Parameters
- $request : Request