app/Module/ModuleThemeTrait.php
public function genealogyMenuContent(array $menus): string
    {
        return implode('', array_map(static function (Menu $menu): string {
            return $menu->bootstrap4();
        }, $menus));
    }
public function genealogyMenuContent(array $menus): string
    {
        return implode('', array_map(static function (Menu $menu): string {
            return $menu->bootstrap4();
        }, $menus));
    }
public function genealogyMenuContent ( array $ menus ) : string { return implode ( '' , array_map ( static function ( Menu $ menu ) : string { return $ menu -> bootstrap4 ( ) ; } , $ menus ) ) ; }
Create the genealogy menu.

@param Menu[] $menus

@return string
Create the genealogy menu .