private function buildName(): string
    {
        $name = null;
        foreach ($this->parts as $part) {
            $name .= $part;
        }

        return rtrim((string) $name, '\\');
    }
private function buildName(): string
    {
        $name = null;
        foreach ($this->parts as $part) {
            $name .= $part;
        }

        return rtrim((string) $name, '\\');
    }
private function buildName ( ) : string { $ name = null ; foreach ( $ this -> parts as $ part ) { $ name .= $ part ; } return rtrim ( ( string ) $ name , '\\' ) ; }
Builds the name of the current node using the parts that are pushed to the parts list.
Builds the name of the current node using the parts that are pushed to the parts list .