$result =
$this->decorated->
save($item);
// add tags after saving to get the newly added tags
$this->collection->
add($this->
getTags($item));
return $result;
} public function saveDeferred(CacheItemInterface
$item): bool
{ $result =
$this->decorated->
saveDeferred($item);
// add tags after saving to get the newly added tags
$this->collection->
add($this->
getTags($item));
return $result;
} public function commit(): bool
{ return $this->decorated->
commit();
}