src/Model/ApiResourceBase.php
protected function sendRequest($url, $method = 'get', array $options = [])
    {
        return $this->send(
          new Request($method, $url),
          $this->client,
          $options
        );
    }
protected function sendRequest($url, $method = 'get', array $options = [])
    {
        return $this->send(
          new Request($method, $url),
          $this->client,
          $options
        );
    }
protected function sendRequest ( $ url , $ method = 'get' , array $ options = [ ] ) { return $ this -> send ( new Request ( $ method , $ url ) , $ this -> client , $ options ) ; }
A simple helper function to send an HTTP request.

@param string $url
@param string $method
@param array  $options

@return array
A simple helper function to send an HTTP request .