RequestMethodRequest
extends FormRequest
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
messages()
public
messages() : array<string, mixed>
Return values
array<string, mixed>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>getCaptchaRuleName()
protected
getCaptchaRuleName() : string
Return values
stringgetEmailOrPhoneNumberRule()
protected
getEmailOrPhoneNumberRule() : array<string|int, mixed>