AndVersionConstraintGroup
extends AbstractVersionConstraint
in package
Table of Contents
Properties
- $constraints : array<string|int, VersionConstraint>
- $originalValue : string
Methods
- __construct() : mixed
- asString() : string
- complies() : bool
Properties
$constraints
private
array<string|int, VersionConstraint>
$constraints
= []
$originalValue
private
string
$originalValue
Methods
__construct()
public
__construct(string $originalValue, array<string|int, VersionConstraint> $constraints) : mixed
Parameters
- $originalValue : string
- $constraints : array<string|int, VersionConstraint>
asString()
public
asString() : string
Return values
stringcomplies()
public
complies(Version $version) : bool
Parameters
- $version : Version