Skip to content

Commit

Permalink
Merge pull request #4 from TheDragonCode/2.x
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Andrey Helldar authored Nov 13, 2021
2 parents ac25502 + 3473845 commit 7f069bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ To retrieve a tagged cache item, pass the same ordered list of tags to the tags
```php
use DragonCode\Cache\Services\Cache;

$cache = Cache::make()
->key('foo', 'bar');
$cache = Cache::make()->key('foo', 'bar');

$cache->tags('actor', 'author')->put(static fn() => 'Some value');
// Contains cached `Some value`
Expand Down

0 comments on commit 7f069bd

Please sign in to comment.