public function tagsByName($name)
    {
        $tags = array();
        foreach ($this->tags() as $tag) {
            if ($name === $tag->name()) {
                $tags[] = $tag;
            }
        }

        return $tags;
    }
public function tagsByName($name)
    {
        $tags = array();
        foreach ($this->tags() as $tag) {
            if ($name === $tag->name()) {
                $tags[] = $tag;
            }
        }

        return $tags;
    }
public function tagsByName ( $ name ) { $ tags = array ( ) ; foreach ( $ this -> tags ( ) as $ tag ) { if ( $ name === $ tag -> name ( ) ) { $ tags [ ] = $ tag ; } } return $ tags ; }
Get all the tags of this block with a specific tag name.

@param string $name The tag name to search for.

@return array<DocumentationTag> The tags with a matching tag name.
Get all the tags of this block with a specific tag name .