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