Base
abstract class Base (View source)
Base Client class.
Constants
DEFAULT_API_BASE_URL |
|
DEFAULT_API_VERSION |
|
API_KEY_HEADER |
|
API_VERSION_HEADER |
|
Properties
protected ClientInterface | $client | Client to access Rokka. |
Methods
__construct(ClientInterface $client)
Constructor.
setCredentials(string $key)
Set the credentials.
ResponseInterface
call(string $method, string $path, array $options = [], bool $needsCredentials = true)
Call the API rokka endpoint.
Details
__construct(ClientInterface $client)
Constructor.
setCredentials(string $key)
Set the credentials.
protected ResponseInterface
call(string $method, string $path, array $options = [], bool $needsCredentials = true)
Call the API rokka endpoint.