UI\Menu
PHP Manual

UI\Menu::appendQuit

(PHP 7, UI 0.9.9)

UI\Menu::appendQuitAppend Quit Menu Item

说明

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

Shall append a Quit menu item

参数

type

The type for the new item

返回值

A constructed Quit menu item of the given type


UI\Menu
PHP Manual