PHP Class Gush\ThirdParty\Bitbucket\BitbucketRepoAdapter

Author: Raul Rodriguez ([email protected])
Author: Sebastiaan Stok ([email protected])
Inheritance: extends Gush\Adapter\BaseAdapter, use trait BitbucketAdapter
Show file Open project: gushphp/gush

Public Methods

Method Description
closePullRequest ( $id )
createComment ( $id, $message )
createFork ( $org )
createRelease ( $name, array $parameters = [] )
createReleaseAssets ( $id, $name, $contentType, $content )
getComments ( $id )
getLabels ( )
getMilestones ( array $parameters = [] )
getPullRequest ( $id )
getPullRequestCommits ( $id )
getPullRequestStates ( )
getPullRequestUrl ( $id )
getPullRequests ( $state = null, $limit = 30 )
getReleases ( )
getRepositoryInfo ( $org, $repository )
openPullRequest ( $base, $head, $subject, $body, array $parameters = [] )
removeRelease ( $id )
supportsRepository ( $remoteUrl )
updatePullRequest ( $id, array $parameters )

Protected Methods

Method Description
adaptPullRequestStructure ( array $pr )

Method Details

adaptPullRequestStructure() protected method

protected adaptPullRequestStructure ( array $pr )
$pr array

closePullRequest() public method

public closePullRequest ( $id )

createComment() public method

public createComment ( $id, $message )

createFork() public method

public createFork ( $org )

createRelease() public method

public createRelease ( $name, array $parameters = [] )
$parameters array

createReleaseAssets() public method

public createReleaseAssets ( $id, $name, $contentType, $content )

getComments() public method

public getComments ( $id )

getLabels() public method

public getLabels ( )

getMilestones() public method

public getMilestones ( array $parameters = [] )
$parameters array

getPullRequest() public method

public getPullRequest ( $id )

getPullRequestCommits() public method

public getPullRequestCommits ( $id )

getPullRequestStates() public method

getPullRequestUrl() public method

public getPullRequestUrl ( $id )

getPullRequests() public method

public getPullRequests ( $state = null, $limit = 30 )

getReleases() public method

public getReleases ( )

getRepositoryInfo() public method

public getRepositoryInfo ( $org, $repository )

openPullRequest() public method

public openPullRequest ( $base, $head, $subject, $body, array $parameters = [] )
$parameters array

removeRelease() public method

public removeRelease ( $id )

supportsRepository() public method

public supportsRepository ( $remoteUrl )

updatePullRequest() public method

public updatePullRequest ( $id, array $parameters )
$parameters array