Documentation

Bound
in package

Table of Contents

Properties

$isInclusive  : bool
$version  : string

Methods

__construct()  : mixed
__toString()  : mixed
compareTo()  : bool
Compares a bound to another with a given operator.
getVersion()  : string
isInclusive()  : bool
isPositiveInfinity()  : bool
isZero()  : bool
positiveInfinity()  : self
zero()  : self

Properties

$isInclusive

private bool $isInclusive

$version

private string $version

Methods

__construct()

public __construct(string $version, bool $isInclusive) : mixed
Parameters
$version : string
$isInclusive : bool

__toString()

public __toString() : mixed

compareTo()

Compares a bound to another with a given operator.

public compareTo(Bound $other, string $operator) : bool
Parameters
$other : Bound
$operator : string
Return values
bool

getVersion()

public getVersion() : string
Return values
string

isInclusive()

public isInclusive() : bool
Return values
bool

isPositiveInfinity()

public isPositiveInfinity() : bool
Return values
bool

isZero()

public isZero() : bool
Return values
bool

positiveInfinity()

public static positiveInfinity() : self
Return values
self

zero()

public static zero() : self
Return values
self

        
On this page

Search results