PHP Trait Gush\ThirdParty\Gitlab\Adapter\GitLabAdapter

Author: Julien Bianchi ([email protected])
Show file Open project: gushphp/gush

Protected Properties

Property Type Description
$client Gitlab\Client | null

Public Methods

Method Description
__construct ( array $configuration )
authenticate ( ) : boolean
isAuthenticated ( )
setClient ( Gitlab\Client $client )

Protected Methods

Method Description
findProject ( $namespace, $projectName )
getCurrentProject ( ) : Project
getPagination ( Buzz\Message\Response $response )

Method Details

__construct() public method

public __construct ( array $configuration )
$configuration array

authenticate() public method

public authenticate ( ) : boolean
return boolean

findProject() protected method

protected findProject ( $namespace, $projectName )

getCurrentProject() protected method

protected getCurrentProject ( ) : Project
return Gitlab\Model\Project

getPagination() protected static method

protected static getPagination ( Buzz\Message\Response $response )
$response Buzz\Message\Response

isAuthenticated() public method

public isAuthenticated ( )

setClient() public method

public setClient ( Gitlab\Client $client )
$client Gitlab\Client

Property Details

$client protected property

protected Client,Gitlab|null $client
return Gitlab\Client | null