public function findResponse($method, $url, array $data = [], array $headers = [], $basicAuthCredentials = '')
    {
        $signature = $this->signature->generate($method, $url, $data, $headers, $basicAuthCredentials);

        return $this->cacheManager->find($signature);
    }
public function findResponse($method, $url, array $data = [], array $headers = [], $basicAuthCredentials = '')
    {
        $signature = $this->signature->generate($method, $url, $data, $headers, $basicAuthCredentials);

        return $this->cacheManager->find($signature);
    }
public function findResponse ( $ method , $ url , array $ data = [ ] , array $ headers = [ ] , $ basicAuthCredentials = '' ) { $ signature = $ this -> signature -> generate ( $ method , $ url , $ data , $ headers , $ basicAuthCredentials ) ; return $ this -> cacheManager -> find ( $ signature ) ; }
Find a response in the cache

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

@return Response|bool
Find a response in the cache