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 74252c2 commit 1859eb3Copy full SHA for 1859eb3
cache.rst
@@ -15,7 +15,7 @@ The following example shows a typical usage of the cache::
15
// The callable will only be executed on a cache miss.
16
$value = $pool->get('my_cache_key', function (ItemInterface $item) {
17
$item->expiresAfter(3600);
18
-
+ 'abc'
19
// ... do some HTTP request or heavy computations
20
$computedValue = 'foobar';
21
0 commit comments