LookupRefValidations
in package
Table of Contents
Methods
- validateInt() : int
- validatePositiveInt() : int
Methods
validateInt()
public
static validateInt(mixed $value) : int
Parameters
- $value : mixed
Return values
intvalidatePositiveInt()
public
static validatePositiveInt(mixed $value[, bool $allowZero = true ]) : int
Parameters
- $value : mixed
- $allowZero : bool = true