UpdateRequest
extends UpdateRequest
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, mixed>
- handleGender() : mixed
- handleProfileFields() : void
- transformCityCode() : void
- transformCountryState() : void
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([string $key = null ][, mixed $default = null ]) : array<string, mixed>
Parameters
- $key : string = null
- $default : mixed = null
Return values
array<string, mixed>handleGender()
protected
handleGender(array<string|int, mixed> &$data) : mixed
Parameters
- $data : array<string|int, mixed>
handleProfileFields()
protected
handleProfileFields(array<string|int, mixed> &$data) : void
Parameters
- $data : array<string|int, mixed>
transformCityCode()
protected
transformCityCode(array<string, mixed> &$data) : void
Parameters
- $data : array<string, mixed>
transformCountryState()
protected
transformCountryState(array<string|int, mixed> &$data) : void
Parameters
- $data : array<string|int, mixed>