OutOfRangeException
extends InvalidArgumentException
in package
implements
InvalidArgumentException
Table of Contents
Interfaces
Properties
- $max : mixed
- The range maximum.
- $min : mixed
- The range minimum.
- $unit : string
- The unit or name of the value.
- $value : mixed
- The invalid value.
Methods
- __construct() : mixed
- Constructor.
- getMax() : mixed
- getMin() : mixed
- getUnit() : mixed
- getValue() : mixed
Properties
$max
The range maximum.
private
mixed
$max
$min
The range minimum.
private
mixed
$min
$unit
The unit or name of the value.
private
string
$unit
$value
The invalid value.
private
mixed
$value
Methods
__construct()
Constructor.
public
__construct(string $unit, mixed $min, mixed $max, mixed $value[, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $unit : string
- $min : mixed
- $max : mixed
- $value : mixed
- $code : int = 0
- $previous : Throwable|null = null
getMax()
public
getMax() : mixed
getMin()
public
getMin() : mixed
getUnit()
public
getUnit() : mixed
getValue()
public
getValue() : mixed