public static function Comparator::lessThanOrEqualTo in Automatic Updates 7
Evaluates the expression: $version1 <= $version2.
Parameters
string $version1:
string $version2:
Return value
bool
File
- vendor/
composer/ semver/ src/ Comparator.php, line 65
Class
Namespace
Composer\SemverCode
public static function lessThanOrEqualTo($version1, $version2) {
return self::compare($version1, '<=', $version2);
}