PHP Class Gush\ThirdParty\Gitlab\Adapter\GitLabRepoAdapter

Author: Luis Cordova ([email protected])
Author: Aaron Scherer ([email protected])
Author: Julien Bianchi ([email protected])
Author: Sebastiaan Stok ([email protected])
Inheritance: extends Gush\Adapter\BaseAdapter, use trait GitLabAdapter
Show file Open project: gushphp/gush Class Usage Examples

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 )

Method Details

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