function ConstraintInterface::__toString
Return value
string
4 methods override ConstraintInterface::__toString()
- Constraint::__toString in vendor/
composer/ semver/ src/ Constraint/ Constraint.php - MatchAllConstraint::__toString in vendor/
composer/ semver/ src/ Constraint/ MatchAllConstraint.php - MatchNoneConstraint::__toString in vendor/
composer/ semver/ src/ Constraint/ MatchNoneConstraint.php - MultiConstraint::__toString in vendor/
composer/ semver/ src/ Constraint/ MultiConstraint.php
File
-
vendor/
composer/ semver/ src/ Constraint/ ConstraintInterface.php, line 74
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 __toString();