| 1 | <?php | ||
| 14 | class Email extends AbstractValidator | ||
| 15 | { | ||
| 16 | |||
| 17 | /** | ||
| 18 | * The error message as key for translation | ||
| 19 | * @var string | ||
| 20 | */ | ||
| 21 | protected $errorMessage = 'validator_invalid_email'; | ||
| 22 | |||
| 23 | /** | ||
| 24 | * Validate email with filter_var | ||
| 25 | * @param $data | ||
| 26 | * @return boolean | ||
| 27 | */ | ||
| 28 | public function process($data) | ||
| 32 | |||
| 33 | } |