| 1 | <?php | ||
| 8 | final class UnsignedInt | ||
| 9 | { | ||
| 10 | /** | ||
| 11 | * Filters $value to an unsigned integer strictly. | ||
| 12 | * | ||
| 13 | * @see \TraderInteractive\Filter\Ints::filter() | ||
| 14 | * | ||
| 15 | * @param mixed $value The value to be checked. | ||
| 16 | * @param bool $allowNull Indicates if the value can be null. | ||
| 17 | * @param int $minValue Indicates the minimum acceptable value. | ||
| 18 | * @param int $maxValue Indicates the maximum acceptable value. | ||
| 19 | * | ||
| 20 | * @return int|null | ||
| 21 | * | ||
| 22 | * @throws Exception | ||
| 23 | */ | ||
| 24 | public static function filter($value, bool $allowNull = false, int $minValue = null, int $maxValue = PHP_INT_MAX) | ||
| 34 | } | ||
| 35 |