protected function addTags(\DOMElement $docBlock, $descriptor)
    {
        foreach ($descriptor->getTags() as $tagGroup) {
            if (! $tagGroup) {
                continue;
            }

            foreach ($tagGroup as $tag) {
                $this->tagConverter->convert($docBlock, $tag);
            }
        }
    }
protected function addTags(\DOMElement $docBlock, $descriptor)
    {
        foreach ($descriptor->getTags() as $tagGroup) {
            if (! $tagGroup) {
                continue;
            }

            foreach ($tagGroup as $tag) {
                $this->tagConverter->convert($docBlock, $tag);
            }
        }
    }
protected function addTags ( \ DOMElement $ docBlock , $ descriptor ) { foreach ( $ descriptor -> getTags ( ) as $ tagGroup ) { if ( ! $ tagGroup ) { continue ; } foreach ( $ tagGroup as $ tag ) { $ this -> tagConverter -> convert ( $ docBlock , $ tag ) ; } } }
Adds each tag to the XML Node representing the DocBlock.

The Descriptor contains an array of tag groups (that are tags grouped by their name), which in itself contains
an array of the individual tags.

@param DescriptorAbstract $descriptor
Adds each tag to the XML Node representing the DocBlock .