class FormValidation extends AbstractFormValidation

Class Validator

Properties

protected Translator $translator from AbstractFormValidation
protected Validator $validator from AbstractFormValidation
protected string $ipAddress
protected bool $newsletterAccess

Methods

__construct(Translator $translator, Validator $validator)

No description

validate(array $formData)

No description

$this
setIpAddress(string $ipAddress)

No description

$this
setNewsletterAccess(boolean $newsletterAccess)

No description

Details

__construct(Translator $translator, Validator $validator)

Parameters

Translator $translator
Validator $validator

at line 48
validate(array $formData)

Parameters

array $formData

at line 28
$this setIpAddress(string $ipAddress)

Parameters

string $ipAddress

Return Value

$this

at line 39
$this setNewsletterAccess(boolean $newsletterAccess)

Parameters

boolean $newsletterAccess

Return Value

$this