@@ -71,44 +71,7 @@ class Psr6Store implements Psr6StoreInterface, ClearableInterface
71
71
72
72
/**
73
73
* When creating a Psr6Store you can configure a number options.
74
- *
75
- * Either cache_directory or cache and lock_factory are required. If you
76
- * want to set a custom cache / lock_factory, please **read the warning in
77
- * the README first**.
78
- *
79
- * - cache_directory: Path to the cache directory for the default cache
80
- * adapter and lock factory.
81
- *
82
- * - cache: Explicitly specify the cache adapter you want to
83
- * use. Note that if you want to make use of cache
84
- * tagging, this cache must implement the
85
- * Symfony\Component\Cache\Adapter\TagAwareAdapterInterface
86
- *
87
- * Make sure that lock and cache have the same
88
- * scope. *Read the warning in the README!*
89
- *
90
- * Type: Symfony\Component\Cache\Adapter\AdapterInterface
91
- *
92
- * - lock_factory: Explicitly specify the cache adapter you want to
93
- * use. Make sure that lock and cache have the same
94
- * scope. *Read the warning in the README!*
95
- *
96
- * Type: Symfony\Component\Lock\Factory
97
- * Default: Factory with SemaphoreStore if available,
98
- * FlockStore otherwise.
99
- *
100
- * - prune_threshold: Configure the number of write actions until the
101
- * store will prune the expired cache entries. Pass
102
- * 0 to disable automated pruning.
103
- *
104
- * Type: int
105
- * Default: 500
106
- *
107
- * - cache_tags_header: Name of HTTP header containing a comma separated
108
- * list of tags to tag the response with.
109
- *
110
- * Type: string
111
- * Default: Cache-Tags
74
+ * See the README for a list of all available options and their description.
112
75
*/
113
76
public function __construct (array $ options = [])
114
77
{
@@ -550,7 +513,7 @@ private function isBinaryFileResponseContentDigest($digest)
550
513
}
551
514
552
515
/**
553
- * Increases a counter every time an item is stored to the cache and then
516
+ * Increases a counter every time a write action is performed and then
554
517
* prunes expired cache entries if a configurable threshold is reached.
555
518
* This only happens during write operations so cache retrieval is not
556
519
* slowed down.
0 commit comments