Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Flitch
Version
PHP Class Flitch\Version
Show file
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