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