PHP Class Gush\ThirdParty\Bitbucket\BitBucketClient

Author: Sebastiaan Stok ([email protected])
Afficher le fichier Open project: gushphp/gush Class Usage Examples

Protected Properties

Свойство Type Description
$errorListener Gush\ThirdParty\Bitbucket\Listener\ErrorListener
$httpClient Bitbucket\API\Http\Client The Buzz instance used to communicate with Gitlab.
$options array
$resultPager Gush\ThirdParty\Bitbucket\ResultPager
$resultPagerListener Gush\ThirdParty\Bitbucket\Listener\ResultPagerListener

Méthodes publiques

Méthode Description
__construct ( array $options = [], Bitbucket\API\Http\Client $httpClient = null )
apiCommits ( )
apiIssues ( )
apiPullRequests ( )
apiRepositories ( )
apiRepository ( )
apiUser ( )
authenticate ( array $credentials, null | string $authMethod = self::AUTH_HTTP_PASSWORD ) Authenticates a user.
disableErrorListener ( $permanent = false )
enableListener ( )
getHttpClient ( ) : Bitbucket\API\Http\Client
getOptions ( ) : array
getResultPager ( ) : Gush\ThirdParty\Bitbucket\ResultPager

Method Details

__construct() public méthode

public __construct ( array $options = [], Bitbucket\API\Http\Client $httpClient = null )
$options array
$httpClient Bitbucket\API\Http\Client

apiCommits() public méthode

public apiCommits ( )

apiIssues() public méthode

public apiIssues ( )

apiPullRequests() public méthode

public apiPullRequests ( )

apiRepositories() public méthode

public apiRepositories ( )

apiRepository() public méthode

public apiRepository ( )

apiUser() public méthode

public apiUser ( )

authenticate() public méthode

Authenticates a user.
public authenticate ( array $credentials, null | string $authMethod = self::AUTH_HTTP_PASSWORD )
$credentials array BitBucket authentication credentials
$authMethod null | string One of the AUTH_* class constants

disableErrorListener() public méthode

public disableErrorListener ( $permanent = false )

enableListener() public méthode

public enableListener ( )

getHttpClient() public méthode

public getHttpClient ( ) : Bitbucket\API\Http\Client
Résultat Bitbucket\API\Http\Client

getOptions() public méthode

public getOptions ( ) : array
Résultat array

getResultPager() public méthode

public getResultPager ( ) : Gush\ThirdParty\Bitbucket\ResultPager
Résultat Gush\ThirdParty\Bitbucket\ResultPager

Property Details

$errorListener protected_oe property

protected ErrorListener,Gush\ThirdParty\Bitbucket\Listener $errorListener
Résultat Gush\ThirdParty\Bitbucket\Listener\ErrorListener

$httpClient protected_oe property

The Buzz instance used to communicate with Gitlab.
protected Client,Bitbucket\API\Http $httpClient
Résultat Bitbucket\API\Http\Client

$options protected_oe property

protected array $options
Résultat array

$resultPager protected_oe property

protected ResultPager,Gush\ThirdParty\Bitbucket $resultPager
Résultat Gush\ThirdParty\Bitbucket\ResultPager

$resultPagerListener protected_oe property

protected ResultPagerListener,Gush\ThirdParty\Bitbucket\Listener $resultPagerListener
Résultat Gush\ThirdParty\Bitbucket\Listener\ResultPagerListener