(PHP 7, UI 0.9.9)
UI\Menu::append — Append Menu Item
$name
[, string $type = UI\MenuItem::class
] ) : UI\MenuItemShall append a new Menu Item
nameThe name (text) for the new item
typeThe type for the new item
A constructed object of the given type