Reference set associated to a repository.
- author Alexandre Salomé
- author Julien DIDIER
Cloneable
Instantiable
Iterable
-
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
() Returns all branches.
|
public getFirstBranch () |
public
getIterator
()
|
public
getLocalBranches
() Returns all locales branches.
|
public
getRemoteBranch
(
$name
)
|
public
getRemoteBranches
() Returns all remote branches.
|
public
getTag
(
$name
)
|
public
getTags
() Returns all tags.
|
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 () |