protected function createRequest($type, $url, $token)
    {
        return $this->client->createRequest($type, $url, $this->getDefaultHeaders($token));
    }
protected function createRequest($type, $url, $token)
    {
        return $this->client->createRequest($type, $url, $this->getDefaultHeaders($token));
    }
protected function createRequest ( $ type , $ url , $ token ) { return $ this -> client -> createRequest ( $ type , $ url , $ this -> getDefaultHeaders ( $ token ) ) ; }
Creates an authorized request

@param $type
@param $url
@param $token

@return \GuzzleHttp\Message\Request|\GuzzleHttp\Message\RequestInterface
Creates an authorized request