diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/config/cache.xml b/src/Symfony/Bundle/FrameworkBundle/Resources/config/cache.xml
index d0e596ab83..cd4d51e2c3 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Resources/config/cache.xml
+++ b/src/Symfony/Bundle/FrameworkBundle/Resources/config/cache.xml
@@ -126,9 +126,8 @@
*/
-class TagAwareAdapter implements TagAwareAdapterInterface, TaggableCacheInterface, PruneableInterface, ResettableInterface
+class TagAwareAdapter implements CacheInterface, TagAwareAdapterInterface, PruneableInterface, ResettableInterface
{
const TAGS_PREFIX = "\0tags\0";
diff --git a/src/Symfony/Component/Cache/Adapter/TraceableTagAwareAdapter.php b/src/Symfony/Component/Cache/Adapter/TraceableTagAwareAdapter.php
index 2fda8b3602..c597c81c38 100644
--- a/src/Symfony/Component/Cache/Adapter/TraceableTagAwareAdapter.php
+++ b/src/Symfony/Component/Cache/Adapter/TraceableTagAwareAdapter.php
@@ -11,12 +11,12 @@
namespace Symfony\Component\Cache\Adapter;
-use Symfony\Component\Cache\TaggableCacheInterface;
+use Symfony\Component\Cache\CacheInterface;
/**
* @author Robin Chalas
*/
interface CacheInterface
{
/**
- * @param callable(CacheItemInterface):mixed $callback Should return the computed value for the given key/item
+ * @param callable(CacheItem):mixed $callback Should return the computed value for the given key/item
*
* @return mixed The value corresponding to the provided key
*/
diff --git a/src/Symfony/Component/Cache/TaggableCacheInterface.php b/src/Symfony/Component/Cache/TaggableCacheInterface.php
deleted file mode 100644
index c112e72586..0000000000
--- a/src/Symfony/Component/Cache/TaggableCacheInterface.php
+++ /dev/null
@@ -1,35 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Cache;
-
-/**
- * Gets and stores items from a tag-aware cache.
- *
- * On cache misses, a callback is called that should return the missing value.
- * It is given two arguments:
- * - the missing cache key
- * - the corresponding Symfony CacheItem object,
- * allowing time-based *and* tags-based expiration control
- *
- * If you don't need tags-based invalidation, use CacheInterface instead.
- *
- * @author Nicolas Grekas
- */
-interface TaggableCacheInterface extends CacheInterface
-{
- /**
- * @param callable(CacheItem):mixed $callback Should return the computed value for the given key/item
- *
- * @return mixed The value corresponding to the provided key
- */
- public function get(string $key, callable $callback);
-}