UpdateProfilePrivacyRequest
extends UpdateRequest
in package
Class UpdateProfilePrivacyRequest.
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, 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>
Return values
array<string, mixed>setPasswordRule()
public
setPasswordRule(MetaFoxPasswordFormatRule $rule) : void
Parameters
- $rule : MetaFoxPasswordFormatRule
validated()
public
validated([string $key = null ][, mixed $default = null ]) : array<string, mixed>
Parameters
- $key : string = null
- $default : mixed = null