MetaFox

IndexRequest extends FormRequest
in package

Class IndexRequest.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Table of Contents

Methods

rules()  : array<string, mixed>
Get the validation rules that apply to the request.
validated()  : mixed
customRepository()  : ProfileRepositoryInterface
transformCustomFields()  : void

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 ]) : mixed
Parameters
$key : mixed = null
$default : mixed = null

customRepository()

protected customRepository() : ProfileRepositoryInterface
Return values
ProfileRepositoryInterface

transformCustomFields()

private transformCustomFields(array<string|int, mixed> &$data) : void
Parameters
$data : array<string|int, mixed>

        
On this page

Search results