BgsBackgroundItemCollection
extends ResourceCollection
in package
Table of Contents
Properties
- $collects : mixed
- $preserveKeys : bool
Methods
- toArray() : array<string|int, mixed>|Arrayable|JsonSerializable
- Transform the resource into a JSON array.
Properties
$collects
public
mixed
$collects
= \MetaFox\BackgroundStatus\Http\Resources\v1\BgsBackground\BgsBackgroundItem::class
$preserveKeys
public
bool
$preserveKeys
= true
Methods
toArray()
Transform the resource into a JSON array.
public
toArray(Request $request) : array<string|int, mixed>|Arrayable|JsonSerializable
Parameters
- $request : Request