| 1 | <?php |
||
| 24 | trait Validator |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Validate an integer |
||
| 28 | * |
||
| 29 | * @param int $int |
||
| 30 | * @param int $minValue |
||
| 31 | * @param string $errorMessage |
||
| 32 | * |
||
| 33 | * @throws InvalidArgumentException If the value is invalid |
||
| 34 | * |
||
| 35 | * @return int |
||
| 36 | */ |
||
| 37 | protected function validateInteger($int, $minValue, $errorMessage) |
||
| 44 | } |
||
| 45 |