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 73c381a commit 343b4b2Copy full SHA for 343b4b2
README.md
@@ -105,7 +105,7 @@ $classBoundCacheContract = new ClassBoundCacheContract(new ClassBoundCache($file
105
106
// Put the $myDataToCache object in cache.
107
// If the FooBar class is modified, the cache item is purged.
108
-$classBoundCache->get(new ReflectionClass(FooBar::class), function() {
+$item = $classBoundCache->get(new ReflectionClass(FooBar::class), function() {
109
// let's return the item to be cached.
110
// this function is called only if the item is not in cache yet.
111
});
0 commit comments