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 = NULL List with all branches.
|
protected $initialized = false A boolean indicating if the bag is already initialized.
|
protected $references = NULL Associative array of fullname references.
|
protected $repository = NULL Repository object.
|
protected $tags = NULL List with all tags.
|
Methods |
protected initialize() |