PHP Class GitHubPullsComments, github-php-client

Inheritance: extends GitHubService
ファイルを表示 Open project: tan-tan-kanarek/github-php-client

Public Methods

Method Description
createComment ( $owner, $repo, $number, $body, $position, $id, $file ) Create a comment
deleteComment ( $owner, $repo, $number ) Delete a comment
editComment ( $owner, $repo, $number, $body ) Edit a comment
getSingleComment ( $owner, $repo, $number ) : GitHubPullComment Get a single comment
listCommentsInRepository ( $owner, $repo, $sort = null, $direction = null, $since = null ) : array List comments in a repository
listCommentsOnPullRequest ( $owner, $repo, $number ) : array List comments on a pull request

Method Details

createComment() public method

Create a comment
public createComment ( $owner, $repo, $number, $body, $position, $id, $file )

deleteComment() public method

Delete a comment
public deleteComment ( $owner, $repo, $number )

editComment() public method

Edit a comment
public editComment ( $owner, $repo, $number, $body )

getSingleComment() public method

Get a single comment
public getSingleComment ( $owner, $repo, $number ) : GitHubPullComment
return GitHubPullComment

listCommentsInRepository() public method

List comments in a repository
public listCommentsInRepository ( $owner, $repo, $sort = null, $direction = null, $since = null ) : array
$sort String (Optional) `created` or `updated`
$direction String (Optional) `asc` or `desc`. Ignored without `sort` parameter.
$since String (Optional) of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
return array

listCommentsOnPullRequest() public method

List comments on a pull request
public listCommentsOnPullRequest ( $owner, $repo, $number ) : array
return array