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