Cloneable
Instantiable
Methods |
public
__construct
(
Gitonomy\Git\Repository
$repository
,
$hash
,
array
$data
=
[
]
) Constructor. |
public
getAuthorDate
() Returns the authoring date.
|
public
getAuthorEmail
() Returns the author email.
|
public
getAuthorName
() Returns the author name.
|
public
getBodyMessage
() Return the body message.
|
public
getCommit
() {@inheritdoc} |
public
getCommitterDate
() Returns the authoring date.
|
public
getCommitterEmail
() Returns the comitter email.
|
public
getCommitterName
() Returns the committer name.
|
public
getDiff
()
|
public
getFixedShortHash
(
$length
=
6
) Returns a fixed-with short hash. |
public
getHash
() Returns the commit hash.
|
public
getIncludingBranches
(
$local
=
true
,
$remote
=
true
) Find branch containing the commit.
|
public
getLastModification
(
$path
=
NULL
)
|
public
getMessage
() Returns the message of the commit.
|
public
getParentHashes
() Returns parent hashes.
|
public
getParents
() Returns the parent commits.
|
public
getShortHash
() Returns the short commit hash.
|
public
getShortMessage
(
$length
=
50
,
$preserve
=
false
,
$separator
=
'...'
) Returns the first line of the commit, and the first 50 characters.
|
public
getSubjectMessage
() Returns the subject message (the first line).
|
public getTree () |
public
getTreeHash
() Returns the tree hash.
|
public
resolveReferences
() Resolves all references associated to this commit.
|
public setData ( array $data ) |
Properties |
Properties |
private
$data
Associative array of commit data.
|
Methods |
private getData ( $name ) |