You are here

public static function Constraint::getSupportedOperators in Automatic Updates 7

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 106

Class

Constraint
Defines a constraint.

Namespace

Composer\Semver\Constraint

Code

public static function getSupportedOperators() {
  return array_keys(self::$transOpStr);
}