public function storeResponse(Response $response, $method, $url, array $data = [], array $headers = [], $basicAuthCredentials = '', $minutes = 30)
    {
        $signature = $this->signature->generate($method, $url, $data, $headers, $basicAuthCredentials);

        $this->cacheManager->store($signature, $response, $minutes);
    }
public function storeResponse(Response $response, $method, $url, array $data = [], array $headers = [], $basicAuthCredentials = '', $minutes = 30)
    {
        $signature = $this->signature->generate($method, $url, $data, $headers, $basicAuthCredentials);

        $this->cacheManager->store($signature, $response, $minutes);
    }
public function storeResponse ( Response $ response , $ method , $ url , array $ data = [ ] , array $ headers = [ ] , $ basicAuthCredentials = '' , $ minutes = 30 ) { $ signature = $ this -> signature -> generate ( $ method , $ url , $ data , $ headers , $ basicAuthCredentials ) ; $ this -> cacheManager -> store ( $ signature , $ response , $ minutes ) ; }
Store a response in the cache

@param Response $response
@param string $method
@param string $url
@param array $data
@param array $headers
@param string $basicAuthCredentials
@param int $minutes

@return void
Store a response in the cache