UI\Menu::appendQuit

Append 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