final class MenuItemState (View source)

The menu item state value object

Constants

STATE_NORMAL

STATE_CURRENT

STATE_ACTIVE

STATE_ABSENT

Properties

protected string $state

Methods

__construct(string $state)

No description

static MenuItemState
normal()

No description

string
__toString()

No description

Details

__construct(string $state)

No description

Parameters

string $state

Exceptions

InvalidMenuItemStateException

static MenuItemState normal()

No description

Return Value

MenuItemState

string __toString()

No description

Return Value

string