public function save(CacheItemInterface $item) { if ($item instanceof TaggableItemInterface) { $this->saveTags($item); } return parent::save($item); }