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