Property | Type | Description | |
---|---|---|---|
$dist | |||
$version | version string |
Property | Type | Description | |
---|---|---|---|
$majorVersion | |||
$minorVersion | |||
$patchVersion |
Method | Description | |
---|---|---|
__construct ( $a, $dist = null ) | can be hhvm | |
__toString ( ) | ||
compare ( $b ) | ||
findLatestPatchVersion ( $currentVersion, array $versions ) | ||
getCanonicalizedVersionName ( ) : string | ||
getDist ( ) | ||
getMajorVersion ( ) | ||
getMinorVersion ( ) | ||
getPatchVersion ( ) | ||
getVersion ( ) | ||
hasPatchVersion ( $version ) | ||
setVersion ( $version ) | ||
upgradePatchVersion ( array $availableVersions ) |
public static findLatestPatchVersion ( $currentVersion, array $versions ) | ||
$versions | array |
public getCanonicalizedVersionName ( ) : string | ||
return | string | the version string, php-5.3.29, php-5.4.2 without prefix |
public upgradePatchVersion ( array $availableVersions ) | ||
$availableVersions | array |