MetaFox

SavedItemCollection extends ResourceCollection
in package

Table of Contents

Properties

$collects  : mixed
$listId  : int

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

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
Return values
array<string|int, mixed>|Arrayable|JsonSerializable

        
On this page

Search results