Свойство | Type | Description | |
---|---|---|---|
$map | array | The repository map |
Méthode | Description | |
---|---|---|
addRepositories ( array $repositories ) : |
Adds multiple repositories | |
addRepository ( string $key, TQ\Vcs\Repository\RepositoryInterface $repository ) : |
Adds a single repository | |
count ( ) : integer | Count elements of an object | |
getRepository ( string $key ) : TQ\Vcs\Repository\RepositoryInterface | Returns the repository if it is registered in the map, throws exception otherwise | |
hasRepository ( string $key ) : boolean | Returns true if the repository is registered in the map | |
tryGetRepository ( string $key ) : TQ\Vcs\Repository\RepositoryInterface | null | Returns the repository if it is registered in the map, NULL otherwise |
public addRepositories ( array $repositories ) : |
||
$repositories | array | The repositories (key => repository) |
Résultat |
public addRepository ( string $key, TQ\Vcs\Repository\RepositoryInterface $repository ) : |
||
$key | string | The key |
$repository | TQ\Vcs\Repository\RepositoryInterface | The repository |
Résultat |
public getRepository ( string $key ) : TQ\Vcs\Repository\RepositoryInterface | ||
$key | string | The key |
Résultat | TQ\Vcs\Repository\RepositoryInterface |
public hasRepository ( string $key ) : boolean | ||
$key | string | The key |
Résultat | boolean |
public tryGetRepository ( string $key ) : TQ\Vcs\Repository\RepositoryInterface | null | ||
$key | string | The key |
Résultat | TQ\Vcs\Repository\RepositoryInterface | null |