public function getNestedName(
        string $delimiter = ".",
        string $name = ""
    ): string
    {
        $keys = array_filter([$this->name, $name], "strlen");
        $parent = $this;
        while ($parent = $parent->getParent()) {
            $name = $parent->getName();
            if ($name) {
                array_unshift($keys, $parent->getName());
            }
        }
        return implode($delimiter, $keys);
    }
public function getNestedName(
        string $delimiter = ".",
        string $name = ""
    ): string
    {
        $keys = array_filter([$this->name, $name], "strlen");
        $parent = $this;
        while ($parent = $parent->getParent()) {
            $name = $parent->getName();
            if ($name) {
                array_unshift($keys, $parent->getName());
            }
        }
        return implode($delimiter, $keys);
    }
public function getNestedName ( string $ delimiter = "." , string $ name = "" ) : string { $ keys = array_filter ( [ $ this -> name , $ name ] , "strlen" ) ; $ parent = $ this ; while ( $ parent = $ parent -> getParent ( ) ) { $ name = $ parent -> getName ( ) ; if ( $ name ) { array_unshift ( $ keys , $ parent -> getName ( ) ) ; } } return implode ( $ delimiter , $ keys ) ; }
Get a field's nested name

@param string $delimiter
@param string $name A name to append to the result
@return string
Get a field s nested name