Property | Type | Description | |
---|---|---|---|
$client | Github\Client | ||
$config | array | ||
$domain | string | null | ||
$globalConfig | |||
$url | string | null |
Method | Description | |
---|---|---|
__construct ( array $config, |
||
authenticate ( ) | ||
closeIssue ( $id ) | ||
closePullRequest ( $id ) | ||
createComment ( $id, $message ) | ||
createFork ( $org ) | ||
createRelease ( $name, array $parameters = [] ) | ||
createReleaseAssets ( $id, $name, $contentType, $content ) | ||
createRepo ( $name, $description, $homepage, $public = true, $organization = null, $hasIssues = true, $hasWiki = false, $hasDownloads = false, $teamId, $autoInit = true ) | ||
getComments ( $id ) | ||
getCommitStatuses ( string $org, string $repo, string $hash ) : array[] | Gets the status of a commit reference. | |
getIssue ( $id ) | ||
getIssueUrl ( $id ) | ||
getIssues ( array $parameters = [], $limit = 30 ) | ||
getLabels ( ) | ||
getMilestones ( array $parameters = [] ) | ||
getPullRequest ( $id ) | ||
getPullRequestCommits ( $id ) | ||
getPullRequestStates ( ) | ||
getPullRequestUrl ( $id ) | ||
getPullRequests ( $state = null, $limit = 30 ) | ||
getReleases ( ) | ||
getRepositoryInfo ( $org, $repository ) | ||
isAuthenticated ( ) | ||
openIssue ( $subject, $body, array $options = [] ) | ||
openPullRequest ( $base, $head, $subject, $body, array $parameters = [] ) | ||
removeRelease ( $id ) | ||
supportsRepository ( $remoteUrl ) | ||
updateIssue ( $id, array $parameters ) | ||
updatePullRequest ( $id, array $parameters ) |
Method | Description | |
---|---|---|
adaptIssueStructure ( array $issue ) | ||
adaptPullRequestStructure ( array $pr ) | ||
buildGitHubClient ( ) : Github\Client |
public __construct ( array $config, |
||
$config | array | |
$globalConfig |
protected adaptPullRequestStructure ( array $pr ) | ||
$pr | array |
protected buildGitHubClient ( ) : Github\Client | ||
return | Github\Client |
public createRelease ( $name, array $parameters = [] ) | ||
$parameters | array |
public createReleaseAssets ( $id, $name, $contentType, $content ) |
public createRepo ( $name, $description, $homepage, $public = true, $organization = null, $hasIssues = true, $hasWiki = false, $hasDownloads = false, $teamId, $autoInit = true ) |
public openPullRequest ( $base, $head, $subject, $body, array $parameters = [] ) | ||
$parameters | array |
public updatePullRequest ( $id, array $parameters ) | ||
$parameters | array |