/** * @param TaggableItemInterface $item * * @return $this */ protected function saveTags(TaggableItemInterface $item) { $tags = $item->getTags(); foreach ($tags as $tag) { $this->appendListItem($this->getTagKey($tag), $item->getKey()); } return $this; }