MetaFox

RequestMethodFormRequest extends RequestMethodRequest
in package

Table of Contents

Methods

messages()  : array<string, mixed>
rules()  : array<string, mixed>
Get the validation rules that apply to the request.
validated()  : mixed
getCaptchaRule()  : array<string|int, mixed>
getCaptchaRuleName()  : string
getEmailOrPhoneNumberRule()  : array<string|int, mixed>

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

getCaptchaRule()

protected getCaptchaRule() : array<string|int, mixed>
Return values
array<string|int, mixed>

getEmailOrPhoneNumberRule()

protected getEmailOrPhoneNumberRule() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results