abstract class AbstractUserFormValidation extends AbstractFormValidation

Class AbstractUserFormValidation

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

abstract validate(array $formData)

Parameters

array $formData

Exceptions

InvalidFormTokenException
ValidationFailedException

at line 21
protected validateNewPassword(array $formData, string $passwordField, string $passwordConfirmationField)

Parameters

array $formData
string $passwordField
string $passwordConfirmationField

at line 37
protected validatePassword(array $formData, string $passwordField, string $passwordConfirmationField)

Parameters

array $formData
string $passwordField
string $passwordConfirmationField

at line 52
protected validateAccountCoreData(array $formData, int $userId)

Parameters

array $formData
int $userId

at line 118
protected validateUserSettings(array $formData)

Parameters

array $formData