mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-02 13:09:53 +09:00
changes
This commit is contained in:
51
vendor/knplabs/github-api/lib/Github/Api/Enterprise.php
vendored
Normal file
51
vendor/knplabs/github-api/lib/Github/Api/Enterprise.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace Github\Api;
|
||||
|
||||
use Github\Api\Enterprise\License;
|
||||
use Github\Api\Enterprise\ManagementConsole;
|
||||
use Github\Api\Enterprise\Stats;
|
||||
use Github\Api\Enterprise\UserAdmin;
|
||||
|
||||
/**
|
||||
* Getting information about a GitHub Enterprise instance.
|
||||
*
|
||||
* @link https://developer.github.com/v3/enterprise/
|
||||
*
|
||||
* @author Joseph Bielawski <stloyd@gmail.com>
|
||||
* @author Guillermo A. Fisher <guillermoandraefisher@gmail.com>
|
||||
*/
|
||||
class Enterprise extends AbstractApi
|
||||
{
|
||||
/**
|
||||
* @return Stats
|
||||
*/
|
||||
public function stats()
|
||||
{
|
||||
return new Stats($this->client);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return License
|
||||
*/
|
||||
public function license()
|
||||
{
|
||||
return new License($this->client);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ManagementConsole
|
||||
*/
|
||||
public function console()
|
||||
{
|
||||
return new ManagementConsole($this->client);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return UserAdmin
|
||||
*/
|
||||
public function userAdmin()
|
||||
{
|
||||
return new UserAdmin($this->client);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user