MetaFox

SavedListItem extends JsonResource
in package
Uses HasStatistic

Class SavedListItem.

Table of Contents

Properties

$resource  : SavedList

Methods

toArray()  : array<string, mixed>
Transform the resource collection into an array.
getExtra()  : array<string|int, mixed>
getStatistic()  : array<string, mixed>

Properties

Methods

toArray()

Transform the resource collection into an array.

public toArray(Request $request) : array<string, mixed>
Parameters
$request : Request
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

throws
AuthenticationException
Return values
array<string, mixed>

getExtra()

protected getExtra() : array<string|int, mixed>
Return values
array<string|int, mixed>

getStatistic()

protected getStatistic() : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results