MetaFox

UserItem extends JsonResource
in package

Class UserItem.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Table of Contents

Properties

$resource  : User

Methods

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

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>

getExtra()

private getExtra() : array<string, bool>
Return values
array<string, bool>

        
On this page

Search results