\Composer\Semver\ConstraintMultiConstraint

Defines a conjunctive or disjunctive set of constraints.

Summary

Methods
Properties
Constants
__construct()
getConstraints()
isConjunctive()
isDisjunctive()
matches()
setPrettyString()
getPrettyString()
__toString()
No public properties found
No constants found
No protected methods found
$constraints
$prettyString
$conjunctive
N/A
No private methods found
No private properties found
N/A

Properties

$prettyString

$prettyString : string

Type

string

$conjunctive

$conjunctive : boolean

Type

boolean

Methods

__construct()

__construct(array<mixed,\Composer\Semver\Constraint\ConstraintInterface>  $constraints, boolean  $conjunctive = true) 

Parameters

array<mixed,\Composer\Semver\Constraint\ConstraintInterface> $constraints

A set of constraints

boolean $conjunctive

Whether the constraints should be treated as conjunctive or disjunctive

isConjunctive()

isConjunctive() : boolean

Returns

boolean

isDisjunctive()

isDisjunctive() : boolean

Returns

boolean

setPrettyString()

setPrettyString(string  $prettyString) 

Parameters

string $prettyString

getPrettyString()

getPrettyString() : string

Returns

string

__toString()

__toString() : string

Returns

string