Edit File by line
/home/barbar84/www/wp-conte.../plugins/updraftp.../vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache
File: CanCacheStrategyInterface.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Guzzle\Plugin\Cache;
[2] Fix | Delete
[3] Fix | Delete
use Guzzle\Http\Message\RequestInterface;
[4] Fix | Delete
use Guzzle\Http\Message\Response;
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Strategy used to determine if a request can be cached
[8] Fix | Delete
*/
[9] Fix | Delete
interface CanCacheStrategyInterface
[10] Fix | Delete
{
[11] Fix | Delete
/**
[12] Fix | Delete
* Determine if a request can be cached
[13] Fix | Delete
*
[14] Fix | Delete
* @param RequestInterface $request Request to determine
[15] Fix | Delete
*
[16] Fix | Delete
* @return bool
[17] Fix | Delete
*/
[18] Fix | Delete
public function canCacheRequest(RequestInterface $request);
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* Determine if a response can be cached
[22] Fix | Delete
*
[23] Fix | Delete
* @param Response $response Response to determine
[24] Fix | Delete
*
[25] Fix | Delete
* @return bool
[26] Fix | Delete
*/
[27] Fix | Delete
public function canCacheResponse(Response $response);
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function