src/HttpClient/BaseHttpClient.php
public function get($url, $params = [])
    {
        if (!is_array($params)) {
            throw new HttpClientException(HttpClientErrorMessages::INVALID_QUERY_PARAMS);
        }
        $params = $this->filterParams($params);
        $this->lastRequestParams = $params;
        $this->lastRequestUrl = $this->buildUrl($url, $params);
        return $this->curlAgent->get($this->lastRequestUrl, $this->rawResponse);
    }
public function get($url, $params = [])
    {
        if (!is_array($params)) {
            throw new HttpClientException(HttpClientErrorMessages::INVALID_QUERY_PARAMS);
        }
        $params = $this->filterParams($params);
        $this->lastRequestParams = $params;
        $this->lastRequestUrl = $this->buildUrl($url, $params);
        return $this->curlAgent->get($this->lastRequestUrl, $this->rawResponse);
    }
Performs GET HTTP request
@author Adegoke Obasa <goke@cottacush.com>
@param $url
@param array $params
@return mixed
@throws HttpClientException