public static function Constraint::getSupportedOperators in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/composer/semver/src/Constraint/Constraint.php \Composer\Semver\Constraint\Constraint::getSupportedOperators()
Get all supported comparison operators.
Return value
array
2 calls to Constraint::getSupportedOperators()
- Constraint::versionCompare in vendor/
composer/ semver/ src/ Constraint/ Constraint.php - Constraint::__construct in vendor/
composer/ semver/ src/ Constraint/ Constraint.php - Sets operator and version to compare with.
File
- vendor/
composer/ semver/ src/ Constraint/ Constraint.php, line 68
Class
- Constraint
- Defines a constraint.
Namespace
Composer\Semver\ConstraintCode
public static function getSupportedOperators() {
return array_keys(self::$transOpStr);
}