Class Github\Api\Repository\Collaborators

InheritanceGithub\Api\Repository\Collaborators » Github\Api\AbstractApi
ImplementsGithub\Api\ApiInterface

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
createJsonBody() Create a JSON encoded version of an array of parameters. Github\Api\AbstractApi
delete() Send a DELETE request with JSON-encoded parameters. Github\Api\AbstractApi
get() Send a GET request with query parameters. Github\Api\AbstractApi
head() Send a HEAD request with query parameters. Github\Api\AbstractApi
patch() Send a PATCH request with JSON-encoded parameters. Github\Api\AbstractApi
post() Send a POST request with JSON-encoded parameters. Github\Api\AbstractApi
postRaw() Send a POST request with raw data. Github\Api\AbstractApi
put() Send a PUT request with JSON-encoded parameters. Github\Api\AbstractApi

Method Details

add() public method

public void add ( $username, $repository, $collaborator )
$username
$repository
$collaborator
all() public method

public void all ( $username, $repository )
$username
$repository
check() public method

public void check ( $username, $repository, $collaborator )
$username
$repository
$collaborator
remove() public method

public void remove ( $username, $repository, $collaborator )
$username
$repository
$collaborator