public function MultiConstraint::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/composer/semver/src/Constraint/MultiConstraint.php \Composer\Semver\Constraint\MultiConstraint::__construct()
Parameters
ConstraintInterface[] $constraints A set of constraints:
bool $conjunctive Whether the constraints should be treated as conjunctive or disjunctive:
File
- vendor/
composer/ semver/ src/ Constraint/ MultiConstraint.php, line 32
Class
- MultiConstraint
- Defines a conjunctive or disjunctive set of constraints.
Namespace
Composer\Semver\ConstraintCode
public function __construct(array $constraints, $conjunctive = true) {
$this->constraints = $constraints;
$this->conjunctive = $conjunctive;
}