class RegistrationFormValidation extends AbstractUserFormValidation

Class RegistrationFormValidation

Properties

protected Translator $translator from AbstractFormValidation
protected Validator $validator from AbstractFormValidation

Methods

__construct(Translator $translator, Validator $validator)

No description

validate(array $formData)

No description

validateNewPassword(array $formData, string $passwordField, string $passwordConfirmationField)

No description

validatePassword(array $formData, string $passwordField, string $passwordConfirmationField)

No description

validateAccountCoreData(array $formData, int $userId)

No description

validateUserSettings(array $formData)

No description

Details

__construct(Translator $translator, Validator $validator)

Parameters

Translator $translator
Validator $validator

at line 17
validate(array $formData)

Parameters

array $formData

protected validateNewPassword(array $formData, string $passwordField, string $passwordConfirmationField)

Parameters

array $formData
string $passwordField
string $passwordConfirmationField

protected validatePassword(array $formData, string $passwordField, string $passwordConfirmationField)

Parameters

array $formData
string $passwordField
string $passwordConfirmationField

protected validateAccountCoreData(array $formData, int $userId)

Parameters

array $formData
int $userId

protected validateUserSettings(array $formData)

Parameters

array $formData