Github

Joomla Framework class for interacting with a GitHub server instance.

property-read Activity

GitHub API object for the activity package.

GitHub API object for the authorizations package.

GitHub API object for the data package.

GitHub API object for the emojis package.

GitHub API object for the gists package.

GitHub API object for the gitignore package.

GitHub API object for the GraphQL v4 API.

GitHub API object for the issues package.

GitHub API object for the markdown package.

GitHub API object for the meta package.

GitHub API object for the orgs package.

GitHub API object for the pulls package.

GitHub API object for the repositories package.

GitHub API object for the search package.

GitHub API object for the users package.

GitHub API object for the zen package.

since

1.0

package

Joomla Framework

Methods

__construct

Constructor.

__construct(\Joomla\Registry\Registry options = null, \Joomla\Http\Http client = null) : 
since

1.0

Arguments

options

Registry|nullGitHub options object.

client

Http|nullThe HTTP client object.

Response

mixed

__get

Magic method to lazily create API objects

__get( name) : \Joomla\Github\AbstractGithubObject
since

1.0

throws

InvalidArgumentExceptionIf $name is not a valid sub class.

Arguments

name

stringName of property to retrieve

Response

AbstractGithubObjectGitHub API object (gists, issues, pulls, etc).

getOption

Get an option from the GitHub instance.

getOption( key) : 
since

1.0

Arguments

key

stringThe name of the option to get.

Response

mixedThe option value.

setOption

Set an option for the GitHub instance.

setOption( key,  value) : \Joomla\Github\GitHub
since

1.0

Arguments

key

stringThe name of the option to set.

value

mixedThe option value to set.

Response

GitHubThis object for method chaining.

Properties

activity

GitHub API object for the activity package.

Type(s)

Activity

authorization

GitHub API object for the authorizations package.

Type(s)

Authorization

data

GitHub API object for the data package.

Type(s)

Data

emojis

GitHub API object for the emojis package.

Type(s)

Emojis

gists

GitHub API object for the gists package.

Type(s)

Gists

gitignore

GitHub API object for the gitignore package.

Type(s)

Gitignore

graphql

GitHub API object for the GraphQL v4 API.

Type(s)

Graphql

issues

GitHub API object for the issues package.

Type(s)

Issues

markdown

GitHub API object for the markdown package.

Type(s)

Markdown

meta

GitHub API object for the meta package.

Type(s)

Meta

orgs

GitHub API object for the orgs package.

Type(s)

Orgs

pulls

GitHub API object for the pulls package.

Type(s)

Pulls

repositories

GitHub API object for the repositories package.

Type(s)

Repositories

users

GitHub API object for the users package.

Type(s)

Users

zen

GitHub API object for the zen package.

Type(s)

Zen

options

Options for the GitHub object.

since

1.0

Type(s)

Registry

client

The HTTP client object to use in sending HTTP requests.

since

1.0

Type(s)

Http