\QuickApps\Core\Package\Composer\Package\LinkConstraintVersionConstraint

Constrains a package link based on package version

Version numbers must be compatible with version_compare

Summary

Methods
Properties
Constants
__construct()
versionCompare()
matchSpecific()
doMatchSpecific()
__toString()
matches()
setPrettyString()
getPrettyString()
No public properties found
No constants found
No protected methods found
$prettyString
N/A
No private methods found
$operator
$version
N/A

Properties

$prettyString

$prettyString : 

Type

$operator

$operator : 

Type

$version

$version : 

Type

Methods

__construct()

__construct(string $operator, string $version)

Sets operator and version to compare a package with

Parameters

string $operator

A comparison operator

string $version

A version to compare to

versionCompare()

versionCompare( $a,  $b,  $operator,  $compareBranches)

{@inheritDoc}

Parameters

$a
$b
$operator
$compareBranches

__toString()

__toString()

{@inheritDoc}

setPrettyString()

setPrettyString(string $prettyString) : void

setPrettyString().

Parameters

string $prettyString

prettyString

getPrettyString()

getPrettyString() : string

getPrettyString().

Returns

string