UserRegisterRequest
extends FormRequest
in package
Class UserRegisterRequest.
Tags
Table of Contents
Constants
- ACTION_CAPTCHA_NAME = 'user.user_signup'
Properties
Methods
- authorize() : bool
- Determine if the user is authorized to make this request.
- getPasswordRule() : mixed
- handleGenderField() : void
- messages() : array<string, mixed>
- rules() : array<string, mixed>
- Get the validation rules that apply to the request.
- setPasswordRule() : void
- validated() : mixed
- customRepository() : ProfileRepositoryInterface
- getBasicProfileFields() : array<string|int, string>
- handleBasicProfileFields() : void
- handleCustomProfileFields() : void
- prepareForValidation() : mixed
- transformCityCode() : void
- transformCountryState() : void
- transformUserLanguage() : void
- transformUserName() : void
- preparePhoneNumberForValidation() : mixed
Constants
ACTION_CAPTCHA_NAME
public
mixed
ACTION_CAPTCHA_NAME
= 'user.user_signup'
Properties
$passwordRule
private
MetaFoxPasswordFormatRule
$passwordRule
Methods
authorize()
Determine if the user is authorized to make this request.
public
authorize() : bool
Return values
boolgetPasswordRule()
public
getPasswordRule() : mixed
handleGenderField()
public
handleGenderField(array<string, mixed> &$data) : void
Parameters
- $data : array<string, mixed>
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>setPasswordRule()
public
setPasswordRule(mixed $passwordRule) : void
Parameters
- $passwordRule : mixed
validated()
public
validated([mixed $key = null ][, mixed $default = null ]) : mixed
Parameters
- $key : mixed = null
- $default : mixed = null
customRepository()
protected
customRepository() : ProfileRepositoryInterface
Return values
ProfileRepositoryInterfacegetBasicProfileFields()
protected
getBasicProfileFields() : array<string|int, string>
Return values
array<string|int, string>handleBasicProfileFields()
protected
handleBasicProfileFields(array<string, mixed> &$data) : void
Parameters
- $data : array<string, mixed>
handleCustomProfileFields()
protected
handleCustomProfileFields(array<string, mixed> &$data) : void
Parameters
- $data : array<string, mixed>
prepareForValidation()
protected
prepareForValidation() : mixed
transformCityCode()
protected
transformCityCode(array<string, mixed> &$data) : void
Parameters
- $data : array<string, mixed>
transformCountryState()
protected
transformCountryState(array<string, mixed> $data) : void
Parameters
- $data : array<string, mixed>
transformUserLanguage()
protected
transformUserLanguage(array<string, mixed> &$data) : void
Parameters
- $data : array<string, mixed>
transformUserName()
protected
transformUserName(array<string, mixed> &$data) : void
Parameters
- $data : array<string, mixed>
preparePhoneNumberForValidation()
private
preparePhoneNumberForValidation() : mixed