1: <?php
2:
3: namespace Guzzle\Plugin\Cache;
4:
5: use Guzzle\Http\Message\RequestInterface;
6: use Guzzle\Http\Message\Response;
7:
8: /**
9: * Never performs cache revalidation and just assumes the request is still ok
10: */
11: class SkipRevalidation implements RevalidationInterface
12: {
13: /**
14: * {@inheritdoc}
15: */
16: public function revalidate(RequestInterface $request, Response $response)
17: {
18: return true;
19: }
20: }
21: