mirror of
https://github.com/avency/Gitea.git
synced 2025-10-28 18:24:58 +01:00
42 lines
898 B
PHP
42 lines
898 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Avency\Gitea\Endpoint;
|
|
|
|
use Avency\Gitea\Client;
|
|
use Avency\Gitea\Endpoint\Organizations\HooksTrait;
|
|
use Avency\Gitea\Endpoint\Organizations\MembersTrait;
|
|
use Avency\Gitea\Endpoint\Organizations\OrganizationTrait;
|
|
use Avency\Gitea\Endpoint\Organizations\RepositoriesTrait;
|
|
use Avency\Gitea\Endpoint\Organizations\TeamsTrait;
|
|
use Avency\Gitea\Endpoint\Organizations\UsersTrait;
|
|
|
|
/**
|
|
* Organizations endpoint
|
|
*/
|
|
class Organizations extends AbstractEndpoint implements EndpointInterface
|
|
{
|
|
use HooksTrait;
|
|
use MembersTrait;
|
|
use OrganizationTrait;
|
|
use RepositoriesTrait;
|
|
use TeamsTrait;
|
|
use UsersTrait;
|
|
|
|
const BASE_URI = '/orgs';
|
|
|
|
/**
|
|
* @var Client
|
|
*/
|
|
protected $client;
|
|
|
|
/**
|
|
* @param Client $client
|
|
*/
|
|
public function __construct(Client $client)
|
|
{
|
|
$this->client = $client;
|
|
}
|
|
}
|