From 5ae4cffbc2ef22bcd82b3b442ee5d1a811be3b99 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Wed, 26 Apr 2017 13:32:55 +0200 Subject: [PATCH] clarify cache_key_generator option --- src/CachePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CachePlugin.php b/src/CachePlugin.php index c97666d..a6dccdd 100644 --- a/src/CachePlugin.php +++ b/src/CachePlugin.php @@ -58,7 +58,7 @@ final class CachePlugin implements Plugin * We store a cache item for $cache_lifetime + max age of the response. * @var array $methods list of request methods which can be cached * @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses - * @var CacheKeyGenerator $cache_key_generator a class to generate the cache key. Defaults to SimpleGenerator + * @var CacheKeyGenerator $cache_key_generator an object to generate the cache key. Defaults to a new instance of SimpleGenerator * } */ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamFactory, array $config = [])