Documentation

Bound
in package

Table of Contents

$isInclusive  : bool
$version  : string
__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
Return values
mixed

__toString()

public __toString() : mixed
Return values
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

Search results