MetaFox

RequestSentItem extends JsonResource
in package
Uses HasFriendExtraTrait

Class RequestSentItem.

Table of Contents

Properties

$resource  : FriendRequest

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
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

throws
AuthenticationException
Return values
array<string, mixed>

getExtra()

protected getExtra() : array<string, bool>
Tags
throws
AuthenticationException
Return values
array<string, bool>

        
On this page

Search results