protected function setTags(MessageCollection $collection) { foreach ($this->getTags() as $type => $tags) { $collection->setTags($type, $tags); } }