src/Api/BaseApi.php
protected function request($url, $method = 'GET', array $params = [])
    {
        $url = $this->sanitizeQuery($url);

        $response = $this->client->request($method, $url, $params);

        if (is_array($response) && isset($response['paging'])) {
            $response = $this->injectPager($response, $method, $url, $params);
        }

        return $response;
    }
protected function request($url, $method = 'GET', array $params = [])
    {
        $url = $this->sanitizeQuery($url);

        $response = $this->client->request($method, $url, $params);

        if (is_array($response) && isset($response['paging'])) {
            $response = $this->injectPager($response, $method, $url, $params);
        }

        return $response;
    }
protected function request ( $ url , $ method = 'GET' , array $ params = [ ] ) { $ url = $ this -> sanitizeQuery ( $ url ) ; $ response = $ this -> client -> request ( $ method , $ url , $ params ) ; if ( is_array ( $ response ) && isset ( $ response [ 'paging' ] ) ) { $ response = $ this -> injectPager ( $ response , $ method , $ url , $ params ) ; } return $ response ; }
performs the request.

@param string $url
@param string $method
@param array  $params

@return array
performs the request .