4 * This file is part of composer/semver.
6 * (c) Composer <https://github.com/composer>
8 * For the full copyright and license information, please view
9 * the LICENSE file that was distributed with this source code.
12 namespace Composer\Semver\Constraint;
14 interface ConstraintInterface
17 * @param ConstraintInterface $provider
21 public function matches(ConstraintInterface $provider);
26 public function getPrettyString();
31 public function __toString();