| 1 | <?php |
||
| 5 | class AbstractIntegerCase |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Indicates if the given value is an integer. |
||
| 9 | * |
||
| 10 | * @param $value |
||
| 11 | * |
||
| 12 | * @return bool |
||
| 13 | */ |
||
| 14 | 198 | protected function isInteger($value): bool |
|
| 18 | |||
| 19 | /** |
||
| 20 | * Indicates if the given value is numeric. |
||
| 21 | * |
||
| 22 | * @param $value |
||
| 23 | * |
||
| 24 | * @return bool |
||
| 25 | */ |
||
| 26 | 54 | protected function isNumeric($value): bool |
|
| 30 | |||
| 31 | /** |
||
| 32 | * Indicates if the given value is an integer or numeric. |
||
| 33 | * |
||
| 34 | * @param $value |
||
| 35 | * |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | 33 | protected function isIntOrNumeric($value): bool |
|
| 42 | } |
||
| 43 |