function ConstraintInterface::matches
Checks whether the given constraint intersects in any way with this constraint
Parameters
ConstraintInterface $provider:
Return value
bool
4 methods override ConstraintInterface::matches()
- Constraint::matches in vendor/
composer/ semver/ src/ Constraint/ Constraint.php - MatchAllConstraint::matches in vendor/
composer/ semver/ src/ Constraint/ MatchAllConstraint.php - MatchNoneConstraint::matches in vendor/
composer/ semver/ src/ Constraint/ MatchNoneConstraint.php - MultiConstraint::matches in vendor/
composer/ semver/ src/ Constraint/ MultiConstraint.php
File
-
vendor/
composer/ semver/ src/ Constraint/ ConstraintInterface.php, line 29
Class
- ConstraintInterface
- DO NOT IMPLEMENT this interface. It is only meant for usage as a type hint in libraries relying on composer/semver but creating your own constraint class that implements this interface is not a supported use case and will cause the composer/semver…
Namespace
Composer\Semver\ConstraintCode
public function matches(ConstraintInterface $provider);