Copied!

Reference set associated to a repository.

CloneableInstantiableIterable
Methods
public __construct( $repository)
 

Constructor.

public count()
 
public createBranch( $name, $commitHash)
public createTag( $name, $commitHash)
public delete( $fullname)
public get( $fullname)
 

Returns a reference, by name.

public getAll()
 
public getBranch( $name)
public getBranches()
public getFirstBranch()
public getIterator()
 
  • see \IteratorAggregate
  • attribute ReturnTypeWillChange
public getLocalBranches()
 
public getRemoteBranch( $name)
public getRemoteBranches()
 
public getTag( $name)
public getTags()
public has( $fullname)
public hasBranch( $name)
public hasBranches()
public hasRemoteBranch( $name)
public hasTag( $name)
public resolve( $hash)
 
public resolveBranches( $hash)
 
public resolveTags( $hash)
 
public update(Gitonomy\Git\Reference $reference)
Properties
protected $branches
 

List with all branches.

protected $initialized
 

A boolean indicating if the bag is already initialized.

protected $references
 

Associative array of fullname references.

protected $repository
protected $tags
 
Methods
protected initialize()
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration