# UI\Menu::appendPreferences

(UI 0.9.9)

UI\Menu::appendPreferences — Append Preferences Menu Item

### 说明

public UI\Menu::appendPreferences(string `$type` = UI\MenuItem::class): UI\MenuItem

Shall append a Preferences menu item

### 参数

`type`

  The type for the new item

### 返回值

A constructed Preferences menu item of the given type

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