app/Place.php
public function fullName(bool $link = false): string
    {
        if ($this->parts->isEmpty()) {
            return '';
        }

        $full_name = $this->parts->implode(I18N::$list_separator);

        if ($link) {
            return '<a dir="auto" href="' . e($this->url()) . '">' . e($full_name) . '</a>';
        }

        return '<span dir="auto">' . e($full_name) . '</span>';
    }
public function fullName(bool $link = false): string
    {
        if ($this->parts->isEmpty()) {
            return '';
        }

        $full_name = $this->parts->implode(I18N::$list_separator);

        if ($link) {
            return '<a dir="auto" href="' . e($this->url()) . '">' . e($full_name) . '</a>';
        }

        return '<span dir="auto">' . e($full_name) . '</span>';
    }
public function fullName ( bool $ link = false ) : string { if ( $ this -> parts -> isEmpty ( ) ) { return '' ; } $ full_name = $ this -> parts -> implode ( I18N :: $ list_separator ) ; if ( $ link ) { return '<a dir="auto" href="' . e ( $ this -> url ( ) ) . '">' . e ( $ full_name ) . '</a>' ; } return '<span dir="auto">' . e ( $ full_name ) . '</span>' ; }
Generate the place name for display, including the full hierarchy.

@param bool $link

@return string
Generate the place name for display including the full hierarchy .