Class Github\Api\CurrentUser

InheritanceGithub\Api\CurrentUser » 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

emails() public method

public Github\Api\CurrentUser\Emails emails ( )
follow() public method

public Github\Api\CurrentUser\Followers follow ( )
followers() public method

public void followers ( $page 1 )
$page
issues() public method

public array issues ( array $params = [], $includeOrgIssues true )
$params array
$includeOrgIssues bool
keys() public method

public Github\Api\CurrentUser\DeployKeys keys ( )
memberships() public method

public Github\Api\CurrentUser\Memberships memberships ( )
notifications() public method

public Github\Api\CurrentUser\Notifications notifications ( )
organizations() public method

public array organizations ( )
repositories() public method

public array repositories ( $type 'owner', $sort 'full_name', $direction 'asc' )
$type string

Role in the repository

$sort string

Sort by

$direction string

Direction of sort, ask or desc

show() public method

public void show ( )
starred() public method

public void starred ( $page 1 )
$page
starring() public method

public Github\Api\CurrentUser\Starring starring ( )
subscriptions() public method

public void subscriptions ( )
teams() public method

public array teams ( )
update() public method

public void update ( array $params )
$params
watched() public method

public void watched ( $page 1 )
$page
watchers() public method

public Github\Api\CurrentUser\Watchers watchers ( )