@@ -21,7 +21,7 @@ Or manually update `require` block of `composer.json` and run `composer update`.
2121``` json
2222{
2323"require" : {
24- "dragon-code/laravel-cache" :" ^3.9 "
24+ "dragon-code/laravel-cache" :" ^3.11 "
2525 }
2626}
2727```
@@ -201,6 +201,9 @@ $cache->doesntHave();
201201
202202$cache->forget();
203203// Will remove the key from the cache.
204+
205+ $cache->flush();
206+ // Clears keys or tags by value
204207```
205208
206209``` php
@@ -237,6 +240,9 @@ $cache->doesntHave();
237240
238241$cache->forget();
239242// Will remove the key from the cache.
243+
244+ $cache->flush();
245+ // Clears keys or tags by value
240246```
241247
242248####Method Call Chain
@@ -428,6 +434,9 @@ $cache->doesntHave();
428434
429435$cache->forget();
430436// Will remove the key from the cache.
437+
438+ $cache->flush();
439+ // Clears keys or tags by value
431440```
432441
433442To retrieve a tagged cache item, pass the same ordered list of tags to the tags method and then call the get method with
@@ -451,6 +460,9 @@ $cache->tags('actor')->get();
451460
452461$cache->tags('author')->get();
453462// Returns `null`
463+
464+ $cache->tags('author')->flush();
465+ // Clears keys or tags by value
454466```
455467
456468> See the official Laravel[ documentation] ( https://laravel.com/docs/cache#accessing-tagged-cache-items ) .