class NavigationBuilder (View source)

Traits

Conditionable

Properties

protected NavigationGroup[] $groups
protected NavigationItem[] $items

Methods

group(NavigationGroup|string $group, array $items = [], bool|null $collapsible = null)

No description

item(NavigationItem $item)

No description

groups(array $groups)

No description

items(array $items)

No description

array
getNavigation()

No description

Details

NavigationBuilder group(NavigationGroup|string $group, array $items = [], bool|null $collapsible = null)

No description

Parameters

NavigationGroup|string $group
array $items
bool|null $collapsible

Return Value

NavigationBuilder

NavigationBuilder item(NavigationItem $item)

No description

Parameters

NavigationItem $item

Return Value

NavigationBuilder

NavigationBuilder groups(array $groups)

No description

Parameters

array $groups

Return Value

NavigationBuilder

NavigationBuilder items(array $items)

No description

Parameters

array $items

Return Value

NavigationBuilder

array getNavigation()

No description

Return Value

array