$constraints
$constraints : array<mixed,\Composer\Semver\Constraint\ConstraintInterface>
Defines a conjunctive or disjunctive set of constraints.
$constraints : array<mixed,\Composer\Semver\Constraint\ConstraintInterface>
__construct(array<mixed,\Composer\Semver\Constraint\ConstraintInterface> $constraints, boolean $conjunctive = true)
array<mixed,\Composer\Semver\Constraint\ConstraintInterface> | $constraints | A set of constraints |
boolean | $conjunctive | Whether the constraints should be treated as conjunctive or disjunctive |
getConstraints() : array<mixed,\Composer\Semver\Constraint\ConstraintInterface>
matches(\Composer\Semver\Constraint\ConstraintInterface $provider) : boolean
\Composer\Semver\Constraint\ConstraintInterface | $provider |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Package\LinkConstraint;
use Composer\Semver\Constraint\MultiConstraint as SemverMultiConstraint;
trigger_error('The ' . __NAMESPACE__ . '\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead.', E_USER_DEPRECATED);
/**
* @deprecated use Composer\Semver\Constraint\MultiConstraint instead
*/
class MultiConstraint extends SemverMultiConstraint implements LinkConstraintInterface
{
}