Append Menu Item

# UI\Menu::append

(UI 0.9.9)

UI\Menu::append — Append Menu Item

### Beschreibung

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

Shall append a new Menu Item

### Parameter-Liste

`name`

  The name (text) for the new item

`type`

  The type for the new item

### Rückgabewerte

A constructed object of the given type

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open