IntegerRange
extends Integer
in package
implements
PseudoType
Value Object representing the type 'int'.
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $maxValue : string
- $minValue : string
- __construct() : mixed
- __toString() : string
- Returns a rendered output of the Type as it would be used in a DocBlock.
- getMaxValue() : string
- getMinValue() : string
- underlyingType() : Type
Properties
$maxValue
private
string
$maxValue
$minValue
private
string
$minValue
Methods
__construct()
public
__construct(string $minValue, string $maxValue) : mixed
Parameters
- $minValue : string
- $maxValue : string
Return values
mixed —__toString()
Returns a rendered output of the Type as it would be used in a DocBlock.
public
__toString() : string
Return values
string —getMaxValue()
public
getMaxValue() : string
Return values
string —getMinValue()
public
getMinValue() : string
Return values
string —underlyingType()
public
underlyingType() : Type