1: <?php
2:
3: namespace Guzzle\Plugin\Cache;
4:
5: use Guzzle\Http\Message\RequestInterface;
6:
7: /**
8: * Used to determine a cache key for a request object
9: */
10: interface CacheKeyProviderInterface
11: {
12: /**
13: * Returns a cache key for a request object
14: *
15: * @param RequestInterface $request Request to generate a cache key for
16: *
17: * @return string
18: */
19: public function getCacheKey(RequestInterface $request);
20: }
21: