JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbrclient = $client; } /** * Gets the client used by this service to send requests. * * @return ClientInterface */ protected function getClient(): ClientInterface { return $this->client; } /** * Send a request to CoinGate API. * * @param string $method the HTTP method * @param string $path the path of the request * @param array $params the parameters of the request * @return mixed */ protected function request(string $method, string $path, array $params = []) { return $this->getClient()->request($method, $path, $params); } /** * Combine base path with parameters * * @param string $path * @param mixed $ids * @return string */ protected function buildPath(string $path, ...$ids): string { foreach ($ids as $id) { if ($id === null || trim($id) === '') { throw new InvalidArgumentException('The resource ID cannot be null or whitespace.'); } } return vsprintf($path, array_map('urlencode', $ids)); } }