diff --git a/src/Bridges/CacheBridgeAbstract.php b/src/Bridges/CacheBridgeAbstract.php index 8f7e45b..e4c487d 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();