public static function Comparator::equalTo in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/composer/semver/src/Comparator.php \Composer\Semver\Comparator::equalTo()
Evaluates the expression: $version1 == $version2.
Parameters
string $version1:
string $version2:
Return value
bool
File
- vendor/
composer/ semver/ src/ Comparator.php, line 78
Class
Namespace
Composer\SemverCode
public static function equalTo($version1, $version2) {
return self::compare($version1, '==', $version2);
}