Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view Chris@0: * the LICENSE file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Composer\Semver\Constraint; Chris@0: Chris@0: interface ConstraintInterface Chris@0: { Chris@0: /** Chris@0: * @param ConstraintInterface $provider Chris@0: * Chris@0: * @return bool Chris@0: */ Chris@0: public function matches(ConstraintInterface $provider); Chris@0: Chris@0: /** Chris@0: * @return string Chris@0: */ Chris@0: public function getPrettyString(); Chris@0: Chris@0: /** Chris@0: * @return string Chris@0: */ Chris@0: public function __toString(); Chris@0: }