UpdateRequest
extends FormRequest
in package
Class UpdateRequest.
Table of Contents
Properties
Methods
- getPasswordRule() : MetaFoxPasswordFormatRule
- messages() : array<string, string>
- rules() : array<string, mixed>
- Get the validation rules that apply to the request.
- setPasswordRule() : void
- validated() : array<string|int, mixed>
Properties
$passwordRule
private
MetaFoxPasswordFormatRule
$passwordRule
Methods
getPasswordRule()
public
getPasswordRule() : MetaFoxPasswordFormatRule
Return values
MetaFoxPasswordFormatRulemessages()
public
messages() : array<string, string>
Return values
array<string, string>rules()
Get the validation rules that apply to the request.
public
rules() : array<string, mixed>
Tags
Return values
array<string, mixed>setPasswordRule()
public
setPasswordRule(MetaFoxPasswordFormatRule $rule) : void
Parameters
- $rule : MetaFoxPasswordFormatRule
validated()
public
validated([mixed $key = null ][, mixed $default = null ]) : array<string|int, mixed>
Parameters
- $key : mixed = null
- $default : mixed = null