UI\Menu::appendQuit

(UI 0.9.9)

UI\Menu::appendQuitAppend Quit Menu Item

说明

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

Shall append a Quit menu item

参数

type

The type for the new item

返回值

A constructed Quit menu item of the given type