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