public function Constraint::__toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/composer/semver/src/Constraint/Constraint.php \Composer\Semver\Constraint\Constraint::__toString()
Return value
string
Overrides ConstraintInterface::__toString
File
- vendor/
composer/ semver/ src/ Constraint/ Constraint.php, line 177
Class
- Constraint
- Defines a constraint.
Namespace
Composer\Semver\ConstraintCode
public function __toString() {
return self::$transOpInt[$this->operator] . ' ' . $this->version;
}