PHP Class Gittern\Entity\GitObject\Commit

Author: Magnus Nordlander
Mostra file Open project: e-butik/gittern Class Usage Examples

Protected Properties

Property Type Description
$author User
$author_time DateTime
$commit_time DateTime
$committer User
$message
$parents array
$sha
$tree Tree

Public Methods

Method Description
addParent ( Commit $parent )
getAuthor ( )
getAuthorTime ( )
getCommitTime ( )
getCommitter ( )
getMessage ( )
getParents ( )
getSha ( )
getTree ( )
setAuthor ( User $author )
setAuthorTime ( DateTime $author_time )
setCommitTime ( DateTime $commit_time )
setCommitter ( User $committer )
setMessage ( $message )
setSha ( $sha )
setTree ( Tree $tree )

Method Details

addParent() public method

public addParent ( Commit $parent )
$parent Commit

getAuthor() public method

public getAuthor ( )

getAuthorTime() public method

public getAuthorTime ( )

getCommitTime() public method

public getCommitTime ( )

getCommitter() public method

public getCommitter ( )

getMessage() public method

public getMessage ( )

getParents() public method

public getParents ( )

getSha() public method

public getSha ( )

getTree() public method

public getTree ( )

setAuthor() public method

public setAuthor ( User $author )
$author User

setAuthorTime() public method

public setAuthorTime ( DateTime $author_time )
$author_time DateTime

setCommitTime() public method

public setCommitTime ( DateTime $commit_time )
$commit_time DateTime

setCommitter() public method

public setCommitter ( User $committer )
$committer User

setMessage() public method

public setMessage ( $message )

setSha() public method

public setSha ( $sha )

setTree() public method

public setTree ( Tree $tree )
$tree Tree

Property Details

$author protected_oe property

protected User,Gittern\Entity\GitObject $author
return User

$author_time protected_oe property

protected DateTime $author_time
return DateTime

$commit_time protected_oe property

protected DateTime $commit_time
return DateTime

$committer protected_oe property

protected User,Gittern\Entity\GitObject $committer
return User

$message protected_oe property

protected $message

$parents protected_oe property

protected array $parents
return array

$sha protected_oe property

protected $sha

$tree protected_oe property

protected Tree,Gittern\Entity\GitObject $tree
return Tree