public UI\MenuItem UI\Menu::append    ( string $name   [, string $type = UI\MenuItem::class  ] )

UI\Menu::appendAppend Menu Item

name

The name (text) for the new item

type

The type for the new item