Documentation

BaseInvoiceResource extends JsonResource
in package

Table of Contents

toArray()  : array<string|int, mixed>|Arrayable|JsonSerializable
Transform the resource into an array.
with()  : array<string|int, mixed>

Methods

toArray()

Transform the resource into an array.

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

with()

public with(mixed $request) : array<string|int, mixed>
Parameters
$request : mixed
Return values
array<string|int, mixed>

Search results