Sulu\Bundle\TagBundle\Tag\TagManagerInterface::merge PHP Method

merge() public method

The source tag will be deleted.
public merge ( array $srcTagIds, number $destTagId ) : Tag
$srcTagIds array The source tags, which will be removed afterwards
$destTagId number The destination tag, which will replace the source tag
return Sulu\Bundle\TagBundle\Entity\Tag The new Tag, which is valid for both given tags
    public function merge($srcTagIds, $destTagId);