PHP Class pocketmine\utils\VersionString

Show file Open project: iTXTech/Genisys Class Usage Examples

Public Methods

Method Description
__construct ( $version = pocketmine\VERSION )
__toString ( )
compare ( $target, $diff = false )
get ( $build = false )
getBuild ( )
getGeneration ( )
getMajor ( )
getMinor ( )
getNumber ( )
getRelease ( )
getStage ( )
isDev ( )

Method Details

__construct() public method

public __construct ( $version = pocketmine\VERSION )

__toString() public method

public __toString ( )

compare() public method

public compare ( $target, $diff = false )

get() public method

public get ( $build = false )

getBuild() public method

public getBuild ( )

getGeneration() public method

public getGeneration ( )

getMajor() public method

public getMajor ( )

getMinor() public method

public getMinor ( )

getNumber() public method

public getNumber ( )

getRelease() public method

public getRelease ( )

getStage() public method

Deprecation:
public getStage ( )

isDev() public method

public isDev ( )