We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a615203 commit aec2ec5Copy full SHA for aec2ec5
components/cache/adapters/array_cache_adapter.rst
@@ -24,5 +24,10 @@ method::
24
25
// the maximum number of items that can be stored in the cache. When the limit
26
// is reached, cache follows the LRU model (least recently used items are deleted)
27
- $maxItems = 0
+ $maxItems = 0,
28
+
29
+ // implementation of Psr\Clock\ClockInterface (e.g. Symfony\Component\Clock\Clock)
30
+ // or null. If clock is provided, cache items lifetime will be calculated
31
+ // based on time provided by this clock
32
+ $clock = null
33
);
0 commit comments