MetaFox

MenuConfig
in package

Class MenuConfig.

Describe menu config

Table of Contents

Properties

$items  : Collection<string|int, MenuItem>
$variant  : string|null

Methods

__construct()  : mixed
MenuConfig constructor.
addItem()  : MenuItem
Add more menu items.
asButton()  : self
setVariant()  : MenuConfig
toArray()  : array<string, mixed>

Properties

Methods

__construct()

MenuConfig constructor.

public __construct() : mixed

asButton()

public asButton() : self
Return values
self

toArray()

public toArray() : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results