mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-14 06:06:18 +00:00
19 lines
515 B
PHP
19 lines
515 B
PHP
<?php
|
|
|
|
namespace Anikeen\Id\ApiOperations;
|
|
|
|
use Anikeen\Id\Exceptions\RequestRequiresClientIdException;
|
|
use Anikeen\Id\Helpers\Paginator;
|
|
use Anikeen\Id\Result;
|
|
use GuzzleHttp\Exception\GuzzleException;
|
|
|
|
trait Request
|
|
{
|
|
/**
|
|
* Make a request to the API.
|
|
*
|
|
* @throws RequestRequiresClientIdException
|
|
* @throws GuzzleException
|
|
*/
|
|
abstract public function request(string $method, string $path, null|array $payload = null, array $parameters = [], ?Paginator $paginator = null): Result;
|
|
} |