private function getCachedResponse($method, $url, array $data, array $headers)
    {
        if ($this->cache)
        {
            return $this->cache->findResponse($method, $url, $data, $headers, $this->basicAuthCredentials);
        }

        return false;
    }
private function getCachedResponse($method, $url, array $data, array $headers)
    {
        if ($this->cache)
        {
            return $this->cache->findResponse($method, $url, $data, $headers, $this->basicAuthCredentials);
        }

        return false;
    }
private function getCachedResponse ( $ method , $ url , array $ data , array $ headers ) { if ( $ this -> cache ) { return $ this -> cache -> findResponse ( $ method , $ url , $ data , $ headers , $ this -> basicAuthCredentials ) ; } return false ; }
Get response from cache

@param string $method
@param string $url
@param array $data
@param array $headers

@return bool|Response
Get response from cache