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