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