Mercurial > hg > rc1
comparison vendor/composer/semver/src/Constraint/ConstraintInterface.php @ 0:1e000243b222
vanilla 1.3.3 distro, I hope
| author | Charlie Root |
|---|---|
| date | Thu, 04 Jan 2018 15:50:29 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:1e000243b222 |
|---|---|
| 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 } |
