PHP Class Flitch\Version

Datei anzeigen Open project: dasprid/flitch Class Usage Examples

Public Methods

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

Method Details

getVersion() public static method

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
return string