PHP Class Pop\Version

Author: Nick Sagona, III ([email protected])
ファイルを表示 Open project: nicksagona/PopPHP Class Usage Examples

Public Methods

Method Description
check ( integer $ret = Version::PLAIN ) : string | array Returns an output of dependencies
compareVersion ( string $ver ) : integer Returns the version of this library install.
getLatest ( ) : string | null Returns the latest version available.
getVersion ( ) : string Returns the version of this library install.

Method Details

check() public static method

Returns an output of dependencies
public static check ( integer $ret = Version::PLAIN ) : string | array
$ret integer
return string | array

compareVersion() public static method

Returns the version of this library install.
public static compareVersion ( string $ver ) : integer
$ver string
return integer

getLatest() public static method

Returns the latest version available.
public static getLatest ( ) : string | null
return string | null

getVersion() public static method

Returns the version of this library install.
public static getVersion ( ) : string
return string