PHP Class Flitch\Version

Afficher le fichier Open project: dasprid/flitch Class Usage Examples

Méthodes publiques

Méthode Description
getVersion ( string $part = null, boolean $fromBeginning = false ) : string Get the version

Method Details

getVersion() public static méthode

If $part is null, the entire version is returned. If it is a string, the version part is returned. If a part is given and $fromBeginning is set to true, the version is returned from the beginning to the named part.
public static getVersion ( string $part = null, boolean $fromBeginning = false ) : string
$part string
$fromBeginning boolean
Résultat string