interface BreadcrumbInterface implements NavigationInterface (View source)

Methods

add(ItemInterface $item)

Adds an item to the navigation.

array
getItems()

Returns all the items in the navigation.

setItems(array $items)

Replace all the existing items with new ones.

Details

NavigationInterface add(ItemInterface $item)

Adds an item to the navigation.

Parameters

ItemInterface $item

Return Value

NavigationInterface

array getItems()

Returns all the items in the navigation.

Return Value

array

NavigationInterface setItems(array $items)

Replace all the existing items with new ones.

Parameters

array $items

Return Value

NavigationInterface