You are here

public function MultiConstraint::__construct in Automatic Updates 7

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\Constraint

Code

public function __construct(array $constraints, $conjunctive = true) {
  $this->constraints = $constraints;
  $this->conjunctive = $conjunctive;
}