Jelix 1.6.40

versionRangeUnaryOperator
in package
implements VersionRangeOperatorInterface

Represents an unary operator (>,<,=,!=,<=,>=,~) in a version range expression.

Interfaces, Classes and Traits

VersionRangeOperatorInterface

Table of Contents

OP_DIFF  = 5
OP_EQ  = 0
OP_GT  = 2
OP_GTE  = 3
OP_LT  = 1
OP_LTE  = 4
$op  : mixed
$operand  : mixed
__construct()  : mixed
compare()  : bool

Constants

Properties

Methods

__construct()

public __construct(int $operator, Version $version) : mixed
Parameters
$operator : int

one of OP_*

$version : Version

the version used to compare

Return values
mixed

Search results