PHP 클래스 GitHubPullsComments, github-php-client

상속: extends GitHubService
파일 보기 프로젝트 열기: tan-tan-kanarek/github-php-client

공개 메소드들

메소드 설명
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

메소드 상세

createComment() 공개 메소드

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

deleteComment() 공개 메소드

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

editComment() 공개 메소드

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

getSingleComment() 공개 메소드

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

listCommentsInRepository() 공개 메소드

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
리턴 array

listCommentsOnPullRequest() 공개 메소드

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