Метод | Описание | |
---|---|---|
__construct ( $options = [] ) | ||
compareTwoVersions ( string $a, string $b ) : integer | Function used to compare two versions. Must return: * -1 if $a is older than $b * 0 if $a and $b are the same * 1 if $a is more recent than $b | |
generateNextVersion ( string $currentVersion ) : string | Return the next version number, according to the current one and optional options | |
getInformationRequests ( ) | ||
getInitialVersion ( ) | ||
getValidationRegex ( ) |
public generateNextVersion ( string $currentVersion ) : string | ||
$currentVersion | string | |
Результат | string |