SavedItemCollection
extends ResourceCollection
in package
Table of Contents
Properties
Methods
- setCollectionId() : mixed
- toArray() : array<string|int, mixed>|Arrayable|JsonSerializable
- Transform the resource into a JSON array.
Properties
$collects
public
mixed
$collects
= \MetaFox\Saved\Http\Resources\v1\Saved\SavedItem::class
$listId
protected
int
$listId
= 0
Methods
setCollectionId()
public
setCollectionId(mixed $listId) : mixed
Parameters
- $listId : mixed
toArray()
Transform the resource into a JSON array.
public
toArray(mixed $request) : array<string|int, mixed>|Arrayable|JsonSerializable
Parameters
- $request : mixed