PHP Class Gitamin\Services\Git\Client

Inheritance: extends Gitter\Client
Afficher le fichier Open project: gitaminhq/gitamin

Protected Properties

Свойство Type Description
$defaultBranch
$hidden
$projects

Méthodes publiques

Méthode Description
__construct ( $options = null )
createRepository ( $path, $bare = null ) Overloads the parent::createRepository method for the correct Repository class instance.
getDefaultBranch ( ) Return name of default branch as a string.
getRepository ( $path ) Overloads the parent::getRepository method for the correct Repository class instance.

Méthodes protégées

Méthode Description
getHidden ( ) : array Get hidden repository list.
getProjects ( ) : array Get project list.
setDefaultBranch ( string $branch ) : object Set default branch as a string.
setHidden ( array $hidden ) : object Set the hidden repository list.
setProjects ( array $projects ) Set the shown repository list.

Method Details

__construct() public méthode

public __construct ( $options = null )

createRepository() public méthode

public createRepository ( $path, $bare = null )

getDefaultBranch() public méthode

Return name of default branch as a string.
public getDefaultBranch ( )

getHidden() protected méthode

Get hidden repository list.
protected getHidden ( ) : array
Résultat array List of repositories to hide

getProjects() protected méthode

Get project list.
protected getProjects ( ) : array
Résultat array List of repositories to show

getRepository() public méthode

public getRepository ( $path )

setDefaultBranch() protected méthode

Set default branch as a string.
protected setDefaultBranch ( string $branch ) : object
$branch string Name of branch to use when repo's HEAD is detached.
Résultat object

setHidden() protected méthode

Set the hidden repository list.
protected setHidden ( array $hidden ) : object
$hidden array List of repositories to hide
Résultat object

setProjects() protected méthode

Set the shown repository list.
protected setProjects ( array $projects )
$projects array List of repositories to show

Property Details

$defaultBranch protected_oe property

protected $defaultBranch

$hidden protected_oe property

protected $hidden

$projects protected_oe property

protected $projects