<?php
namespace GuzzlePluginCache;
use GuzzleHttpMessageRequestInterface;
use GuzzleHttpMessageResponse;
/**
* Never performs cache revalidation and just assumes the request is invalid
*/
class DenyRevalidation extends DefaultRevalidation
{
public function __construct() {}
public function revalidate(RequestInterface $request, Response $response)
{
return false;
}
}