src/Sulu/Bundle/TagBundle/Tag/TagManager.php
public function resolveTagIds($tagIds)
    {
        $resolvedTags = [];

        foreach ($tagIds as $tagId) {
            $tag = $this->findById($tagId);
            if (null !== $tag) {
                $resolvedTags[] = $tag->getName();
            }
        }

        return $resolvedTags;
    }
public function resolveTagIds($tagIds)
    {
        $resolvedTags = [];

        foreach ($tagIds as $tagId) {
            $tag = $this->findById($tagId);
            if (null !== $tag) {
                $resolvedTags[] = $tag->getName();
            }
        }

        return $resolvedTags;
    }
public function resolveTagIds ( $ tagIds ) { $ resolvedTags = [ ] ; foreach ( $ tagIds as $ tagId ) { $ tag = $ this -> findById ( $ tagId ) ; if ( null !== $ tag ) { $ resolvedTags [ ] = $ tag -> getName ( ) ; } } return $ resolvedTags ; }
Resolves tag ids to names.

@param $tagIds

@return array
Resolves tag ids to names .