Метод |
Описание |
|
__toString ( ) : string |
String representation of this Version |
|
cleanCopy ( ) : Version |
Create a new Version that discards the entity information of build and
originalVersionString |
|
getBuild ( ) : Naneau\SemVer\Version\Build |
Get the build |
|
getOriginalVersion ( ) : string |
Get the original version string |
|
getPreRelease ( ) : Naneau\SemVer\Version\PreRelease |
Get the pre release version |
|
hasBuild ( ) : boolean |
Does this Version have a Build? |
|
hasPreRelease ( ) : boolean |
Does this Version have a pre release? |
|
next ( Version | string | null $base = null ) : Version |
Get the next logical version relative to the provided base version. If
no base is supplied, base will be the same as the current version. |
|
setBuild ( Naneau\SemVer\Version\Build $build ) : Version |
Set the build |
|
setOriginalVersion ( $version ) |
Set the original version string for later usage |
|
setPreRelease ( Naneau\SemVer\Version\PreRelease $preRelease ) : Version |
Set the pre release version |
|