UI\Menu::appendQuit

Append Quit Menu Item

Description

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

Shall append a Quit menu item

Parameters

type

The type for the new item

Return Values

A constructed Quit menu item of the given type