Copied!

Representation of a branch reference.

Cloneable Instantiable
Methods
public Gitonomy\Git\Reference :: __construct ( Gitonomy\Git\Repository $repository , $revision , $commitHash = NULL )
public Gitonomy\Git\Reference :: delete ()
public Gitonomy\Git\Reference :: getCommit ()
 

Returns the commit associated to the reference.

  • return Commit
public Gitonomy\Git\Reference :: getCommitHash ()
public Gitonomy\Git\Reference :: getFullname ()
public Gitonomy\Git\Reference :: getLastModification ( $path = NULL )
public Gitonomy\Git\Revision :: getLog ( $paths = NULL , $offset = NULL , $limit = NULL )
 
  • return Log
public getName ()
public Gitonomy\Git\Revision :: getRepository ()
 
  • return Repository
public Gitonomy\Git\Revision :: getRevision ()
 
  • return string
public isLocal ()
public isRemote ()
Properties
protected Gitonomy\Git\Reference :: $commitHash
protected Gitonomy\Git\Revision :: $repository
 
  • var Repository
protected Gitonomy\Git\Revision :: $revision
 
  • var string
Properties
private $local
Methods
private detectBranchType ()
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration