Skip to content

Commit

Permalink
[Cache] cache improvements - decorate Pimcore CoreCacheHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Oct 20, 2023
1 parent 140d2c5 commit f8cf625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoreShop/Behat/Context/Setup/CacheContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function iCacheObjectWithKey(mixed $object, string $key): void
{
if ($object instanceof Concrete) {
Cache::getHandler()->removeClearedTags(['object_'.$object->getId()]);
Cache::getHandler()->removeClearedTags(['cs_'.$object->getClassId()]);
Cache::getHandler()->removeClearedTags(['class_'.$object->getClassId()]);
}

Assert::true(Cache::getHandler()->save($key, $object, ['behat'], null, 0, true));
Expand Down

0 comments on commit f8cf625

Please sign in to comment.