RelationConstraintInterface.php 499 B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. * This file is part of Composer.
  4. *
  5. * (c) Nils Adermann <naderman@naderman.de>
  6. * Jordi Boggiano <j.boggiano@seld.be>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Composer\DependencyResolver\RelationConstraint;
  12. /**
  13. * @author Nils Adermann <naderman@naderman.de>
  14. */
  15. interface RelationConstraintInterface
  16. {
  17. function matches($releaseType, $version);
  18. function __toString();
  19. }