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) :
__get
Magic method to lazily create API objects
__get( name) : \Joomla\Github\AbstractGithubObject
| since |
1.0 |
|---|---|
| throws |
|
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.