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