Table of Contents
-
NO_REFERENCE_TEXT
= '{no reference}'
-
NO_VERSION_TEXT
= '{no version}'
-
SHORT_COMMIT_LENGTH
= 7
-
$packageName
: string
-
$prettyVersion
: string
-
$reference
: string
-
$versionIsTagged
: bool
-
__construct()
: mixed
-
__toString()
: string
-
getCommitHash()
: string
-
getFullVersion()
: string
-
getPackageName()
: string
-
getPrettyVersion()
: string
-
getReference()
: string
-
getShortCommitHash()
: string
-
getShortReference()
: string
-
getShortVersion()
: string
-
getVersionWithShortCommit()
: string
-
getVersionWithShortReference()
: string
NO_REFERENCE_TEXT
public
mixed
NO_REFERENCE_TEXT
= '{no reference}'
NO_VERSION_TEXT
public
mixed
NO_VERSION_TEXT
= '{no version}'
SHORT_COMMIT_LENGTH
private
mixed
SHORT_COMMIT_LENGTH
= 7
$packageName
private
string
$packageName
$prettyVersion
private
string
$prettyVersion
$reference
private
string
$reference
$versionIsTagged
private
bool
$versionIsTagged
__construct()
public
__construct(string $packageName[, string|null $prettyVersion = null ][, string|null $reference = null ]) : mixed
Parameters
-
$packageName
: string
-
-
$prettyVersion
: string|null
= null
-
-
$reference
: string|null
= null
-
Return values
mixed
—
__toString()
public
__toString() : string
Return values
string
—
getCommitHash()
public
getCommitHash() : string
-
deprecated
-
Return values
string
—
getFullVersion()
public
getFullVersion() : string
Return values
string
—
getPackageName()
public
getPackageName() : string
Return values
string
—
getPrettyVersion()
public
getPrettyVersion() : string
Return values
string
—
getReference()
public
getReference() : string
Return values
string
—
getShortCommitHash()
public
getShortCommitHash() : string
-
deprecated
-
Return values
string
—
getShortReference()
public
getShortReference() : string
Return values
string
—
getShortVersion()
public
getShortVersion() : string
Return values
string
—
getVersionWithShortCommit()
public
getVersionWithShortCommit() : string
-
deprecated
-
Return values
string
—
getVersionWithShortReference()
public
getVersionWithShortReference() : string
Return values
string
—