PHP Class Pop\Version

Author: Nick Sagona, III ([email protected])
Afficher le fichier Open project: nicksagona/PopPHP Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

compareVersion() public static méthode

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

getLatest() public static méthode

Returns the latest version available.
public static getLatest ( ) : string | null
Résultat string | null

getVersion() public static méthode

Returns the version of this library install.
public static getVersion ( ) : string
Résultat string