MetaFox

TypeItem extends JsonResource
in package

Class TypeItem.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Table of Contents

Properties

$resource  : Type

Methods

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

Properties

Methods

toArray()

Transform the resource collection into an array.

public toArray(Request $request) : array<string, mixed>
Parameters
$request : Request
Return values
array<string, mixed>

getChannels()

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

        
On this page

Search results