0
|
1 <?php
|
|
2
|
|
3 /*
|
|
4 * This file is part of composer/semver.
|
|
5 *
|
|
6 * (c) Composer <https://github.com/composer>
|
|
7 *
|
|
8 * For the full copyright and license information, please view
|
|
9 * the LICENSE file that was distributed with this source code.
|
|
10 */
|
|
11
|
|
12 namespace Composer\Semver\Constraint;
|
|
13
|
|
14 interface ConstraintInterface
|
|
15 {
|
|
16 /**
|
|
17 * @param ConstraintInterface $provider
|
|
18 *
|
|
19 * @return bool
|
|
20 */
|
|
21 public function matches(ConstraintInterface $provider);
|
|
22
|
|
23 /**
|
|
24 * @return string
|
|
25 */
|
|
26 public function getPrettyString();
|
|
27
|
|
28 /**
|
|
29 * @return string
|
|
30 */
|
|
31 public function __toString();
|
|
32 }
|