Menu

## IntegerRange extends Integer
in package
implements PseudoType

IntegerRange.php : 25

Value Object representing the type 'int'.

##### Tags

psalm-immutable

### Interfaces, Classes and Traits

PseudoType

### 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

IntegerRange.php : 31
`private string $maxValue`

#### $minValue

IntegerRange.php : 28
`private string $minValue`

### Methods

#### __construct()

IntegerRange.php : 33
`public __construct(string $minValue, string $maxValue) : mixed`

##### Parameters

$minValue : string
$maxValue : string

##### Return values

mixed —

#### __toString()

IntegerRange.php : 57

Returns a rendered output of the Type as it would be used in a DocBlock.

`public __toString() : string`

##### Return values

string —

#### getMaxValue()

IntegerRange.php : 49
`public getMaxValue() : string`

##### Return values

string —

#### getMinValue()

IntegerRange.php : 44
`public getMinValue() : string`

##### Return values

string —

#### underlyingType()

IntegerRange.php : 39
`public underlyingType() : Type`

##### Return values

Type —

## Search results