From 880c507233780b22371e5502b3726d04cb2caf6f Mon Sep 17 00:00:00 2001 From: Zahir Saad Bouzid Date: Thu, 2 May 2024 11:28:33 +0200 Subject: [PATCH] [Cache] Small correction in the use of tags in the cache Replacement of the word key by tag in the description of the use of tags in the cache --- cache.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache.rst b/cache.rst index 5dd560a94cc..d5a7082b748 100644 --- a/cache.rst +++ b/cache.rst @@ -572,7 +572,7 @@ Using Cache Tags In applications with many cache keys it could be useful to organize the data stored to be able to invalidate the cache more efficiently. One way to achieve that is to use cache tags. One or more tags could be added to the cache item. All items with -the same key could be invalidated with one function call:: +the same tag could be invalidated with one function call:: use Symfony\Contracts\Cache\ItemInterface; use Symfony\Contracts\Cache\TagAwareCacheInterface;