MetaFox

IndexRequest extends FormRequest
in package

Class IndexRequest.

Table of Contents

Methods

rules()  : array<string, mixed>
Get the validation rules that apply to the request.
validated()  : array<string, mixed>
assignDefault()  : array<string|int, mixed>
assignOwnerId()  : array<string|int, mixed>
getDefaultLimit()  : int

Methods

rules()

Get the validation rules that apply to the request.

public rules() : array<string, mixed>
Return values
array<string, mixed>

validated()

public validated([mixed $key = null ][, mixed $default = null ]) : array<string, mixed>
Parameters
$key : mixed = null
$default : mixed = null
Return values
array<string, mixed>

assignDefault()

protected assignDefault(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

assignOwnerId()

protected assignOwnerId(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefaultLimit()

protected getDefaultLimit() : int
Return values
int

        
On this page

Search results