TypeItem
extends JsonResource
in package
Class TypeItem.
Tags
Table of Contents
Properties
Methods
- toArray() : array<string, mixed>
- Transform the resource collection into an array.
- getData() : array<string|int, mixed>
- getValues() : array<string|int, mixed>
Properties
$resource
public
Type
$resource
Methods
toArray()
Transform the resource collection into an array.
public
toArray(Request $request) : array<string, mixed>
Parameters
- $request : Request
Return values
array<string, mixed>getData()
protected
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>getValues()
protected
getValues() : array<string|int, mixed>