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