\Brickrouge\ValidatorEmailValidator

Validates an email address.

Summary

Methods
Properties
Constants
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__invoke()

__invoke(\ICanBoogie\Errors  $errors, \Brickrouge\Element  $element, mixed  $value) : boolean

Validates the value provided.

Parameters

\ICanBoogie\Errors $errors

Used to collect error messages.

\Brickrouge\Element $element

Target element.

mixed $value

The value to validate.

Returns

boolean —

true if the value is valid, false otherwise.