Documentation

IntegerRange extends Integer
in package
implements PseudoType

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

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

Search results