@@ -47,16 +47,16 @@ final class CachePlugin implements Plugin
47
47
* @param array $config {
48
48
*
49
49
* @var bool $respect_cache_headers Whether to look at the cache directives or ignore them. This option is
50
- * deprecated, use `respect_response_cache_directives` instead
51
- * @var int $default_ttl (seconds) If we do not respect cache headers or can't calculate a good ttl, use this
52
- * value
53
- * @var string $hash_algo The hashing algorithm to use when generating cache keys
54
- * @var int $cache_lifetime (seconds) To support serving a previous stale response when the server answers 304
55
- * we have to store the cache for a longer time than the server originally says it is valid for.
56
- * We store a cache item for $cache_lifetime + max age of the response.
57
- * @var array $methods list of request methods which can be cached
58
- * @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses.
59
- * }.
50
+ * deprecated, use `respect_response_cache_directives` instead
51
+ * @var int $default_ttl (seconds) If we do not respect cache headers or can't calculate a good ttl, use this
52
+ * value
53
+ * @var string $hash_algo The hashing algorithm to use when generating cache keys
54
+ * @var int $cache_lifetime (seconds) To support serving a previous stale response when the server answers 304
55
+ * we have to store the cache for a longer time than the server originally says it is valid for.
56
+ * We store a cache item for $cache_lifetime + max age of the response.
57
+ * @var array $methods list of request methods which can be cached
58
+ * @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses.
59
+ * }.
60
60
*/
61
61
public function __construct (CacheItemPoolInterface $ pool , StreamFactory $ streamFactory , array $ config = [])
62
62
{
0 commit comments