src/WsdlHandler/Tag/Tag.php
public function isTheParent(AbstractTag $tag)
    {
        /** @var AbstractTag|null $parent */
        $parent = $this->getSuitableParent();
        return $parent ? $parent->getNode()->isSameNode($tag->getNode()) : false;
    }
public function isTheParent(AbstractTag $tag)
    {
        /** @var AbstractTag|null $parent */
        $parent = $this->getSuitableParent();
        return $parent ? $parent->getNode()->isSameNode($tag->getNode()) : false;
    }
public function isTheParent ( AbstractTag $ tag ) { /** @var AbstractTag|null $parent */ $ parent = $ this -> getSuitableParent ( ) ; return $ parent ? $ parent -> getNode ( ) -> isSameNode ( $ tag -> getNode ( ) ) : false ; }
Checks if the given tag is the same direct parent of this current tag
@param AbstractTag $tag
@return bool
Checks if the given tag is the same direct parent of this current tag