Reference set associated to a repository.
- author Alexandre Salomé
- author Julien DIDIER
CloneableInstantiableIterable
- Implements
Countable IteratorAggregate Traversable
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()
|
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 |
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 Repository object. |
protected $tags List with all tags. |
Methods |
protected initialize() |