Octavenz\Reoako\Client\ReoakoClient
Synopsis
class ReoakoClient
{
- // members
- private static string $default_api_domain = 'https://api.reoako.nz';
- private static string $default_api_base_path = 'api/v1';
- private static string $api_key = '';
- protected string $apiKey = '';
- // methods
- public string getApiKey()
- public void __construct()
- public void search()
Members
private
- $api_key
—
string
API key - $default_api_base_path
—
string
API base path - $default_api_domain
—
string
API Domain
protected
- $apiKey
—
string
The API key that will be used for the service. Can be set on the singleton to take priority over configuration.
Methods
public
- __construct()
- getApiKey() — Get the API key. Priority is given first to explicitly set values on a singleton, then to configuration values and finally to environment values.
- search()