app/Module/ModuleThemeTrait.php
public function menuMyPage(Tree $tree): Menu
    {
        return new Menu(I18N::translate('My page'), route('user-page', ['ged' => $tree->name()]), 'menu-mypage');
    }
public function menuMyPage(Tree $tree): Menu
    {
        return new Menu(I18N::translate('My page'), route('user-page', ['ged' => $tree->name()]), 'menu-mypage');
    }
public function menuMyPage ( Tree $ tree ) : Menu { return new Menu ( I18N :: translate ( 'My page' ) , route ( 'user-page' , [ 'ged' => $ tree -> name ( ) ] ) , 'menu-mypage' ) ; }
A link to the user's personal home page.

@param Tree $tree

@return Menu
A link to the user s personal home page .