UpdateProfileRequest
extends FormRequest
in package
Uses
RelationTrait
Class UpdateProfileRequest.
Table of Contents
Methods
- messages() : array<string, mixed>
- rules() : array<string, mixed>
- Get the validation rules that apply to the request.$user.
- validated() : mixed
- transformCityCode() : void
- transformCountryState() : void
Methods
messages()
public
messages() : array<string, mixed>
Return values
array<string, mixed>rules()
Get the validation rules that apply to the request.$user.
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
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>