public function getChild(string $name): Node
    {
        foreach ($this->children as $node) {
            if (strcasecmp($node->getName(), $name) == 0) {
                return $node;
            }
        }

        return new NullNode;
    }
public function getChild(string $name): Node
    {
        foreach ($this->children as $node) {
            if (strcasecmp($node->getName(), $name) == 0) {
                return $node;
            }
        }

        return new NullNode;
    }
public function getChild ( string $ name ) : Node { foreach ( $ this -> children as $ node ) { if ( strcasecmp ( $ node -> getName ( ) , $ name ) == 0 ) { return $ node ; } } return new NullNode ; }
Get child node
Get child node