You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CachePlugin.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ final class CachePlugin implements Plugin
35
35
private$config;
36
36
37
37
/**
38
-
* Cache directives indicating if a response can be cached
38
+
* Cache directives indicating if a response can be cached.
39
39
*
40
40
* @var array
41
41
*/
@@ -53,7 +53,7 @@ final class CachePlugin implements Plugin
53
53
* @var int $cache_lifetime (seconds) To support serving a previous stale response when the server answers 304
54
54
* we have to store the cache for a longer time than the server originally says it is valid for.
55
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.
56
+
* @var array $methods list of request methods which can be cached
57
57
* @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses.
58
58
* }
59
59
*/
@@ -72,7 +72,7 @@ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamF
72
72
}
73
73
74
74
/**
75
-
* This method will setup the cachePlugin in client cache mode. When using the client cache mode the plugin will cache responses with `private` cache directive
75
+
* This method will setup the cachePlugin in client cache mode. When using the client cache mode the plugin will cache responses with `private` cache directive.
76
76
*
77
77
* @param CacheItemPoolInterface $pool
78
78
* @param StreamFactory $streamFactory
@@ -98,7 +98,7 @@ public static function clientCache(CacheItemPoolInterface $pool, StreamFactory $
98
98
}
99
99
100
100
/**
101
-
* This method will setup the cachePlugin in server cache mode. This is the default caching behavior (refuses to cache responses with the `private`or `no-cache` directives
101
+
* This method will setup the cachePlugin in server cache mode. This is the default caching behavior (refuses to cache responses with the `private`or `no-cache` directives.
0 commit comments