PHP Class Gittern\Proxy\CommitProxy

Author: Magnus Nordlander
Inheritance: extends Gittern\Entity\GitObject\Commit
Mostra file Open project: e-butik/gittern

Protected Properties

Property Type Description
$commit
$repo
$sha

Public Methods

Method Description
__construct ( Repository $repo, $sha )
__load ( )
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

__construct() public method

public __construct ( Repository $repo, $sha )
$repo Gittern\Repository

__load() public method

public __load ( )

addParent() public method

public addParent ( Commit $parent )
$parent Gittern\Entity\GitObject\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 Gittern\Entity\GitObject\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 Gittern\Entity\GitObject\User

setMessage() public method

public setMessage ( $message )

setSha() public method

public setSha ( $sha )

setTree() public method

public setTree ( Tree $tree )
$tree Gittern\Entity\GitObject\Tree

Property Details

$commit protected_oe property

protected $commit

$repo protected_oe property

protected $repo

$sha protected_oe property

protected $sha