From 13ebdf32f84638783ad13865bcf438789eb9f687 Mon Sep 17 00:00:00 2001 From: Sergey Mutaf Date: Fri, 24 Nov 2023 18:09:08 +0200 Subject: [PATCH] Fixed item cache value Signed-off-by: Sergey Mutaf --- src/Bridges/CacheBridgeAbstract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bridges/CacheBridgeAbstract.php b/src/Bridges/CacheBridgeAbstract.php index 8f7e45b3..e4c487db 100644 --- a/src/Bridges/CacheBridgeAbstract.php +++ b/src/Bridges/CacheBridgeAbstract.php @@ -118,7 +118,7 @@ final public function save(CacheItemInterface $item): bool return false; } - $value = serialize($item->get()); + $value = serialize($item->getRawValue()); $key = $item->getKey(); $expires = $item->getExpiration();