Integer's interval implementation and accompanying utility methods. More...
Public Member Functions | |
__construct ($min=null, $max=null) | |
setMin ($min=null) | |
setMax ($max=null) | |
Static Public Member Functions | |
static | create ($min=null, $max=null) |
Integer's interval implementation and accompanying utility methods.
Definition at line 17 of file Range.class.php.
Range::__construct | ( | $ | min = null , |
|
$ | max = null | |||
) |
Reimplemented from BaseRange.
Definition at line 19 of file Range.class.php.
References BaseRange::$max, BaseRange::$min, and Assert::isInteger().
static Range::create | ( | $ | min = null , |
|
$ | max = null | |||
) | [static] |
Reimplemented in IntegerSet.
Definition at line 33 of file Range.class.php.
References BaseRange::$max, and BaseRange::$min.
Range::setMax | ( | $ | max = null |
) |
WrongArgumentException |
Reimplemented from BaseRange.
Definition at line 56 of file Range.class.php.
References BaseRange::$max, and Assert::isInteger().
Range::setMin | ( | $ | min = null |
) |
WrongArgumentException |
Reimplemented from BaseRange.
Definition at line 42 of file Range.class.php.
References BaseRange::$min, and Assert::isInteger().