Skip to content

Commit 694c3b5

Browse files
committed
wip
1 parent a3f5921 commit 694c3b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cache.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,10 @@ The first `get` call for a given key retrieves the value from your cache store,
353353

354354
```php
355355
// Hits the cache...
356-
Cache::memo()->get('key');
356+
$value = Cache::memo()->get('key');
357357

358358
// Does not hit the cache, returns memoized value...
359-
Cache::memo()->get('key');
359+
$value = Cache::memo()->get('key');
360360
```
361361

362362
When calling methods that modify cache values (such as `put`, `increment`, `remember`, etc.), the memoized cache automatically forgets the memoized value and delegates the mutating method call to the underlying cache store:

0 commit comments

Comments
 (0)