Navigation
class Navigation implements NavigationInterface, JsonSerializable (View source)
Properties
protected ItemInterface[] | $items |
Methods
__clone()
No description
array
getItems()
Returns all the items in the navigation.
setItems(array $items)
Replace all the existing items with new ones.
array
jsonSerialize()
{@inheritdoc}
Details
__clone()
No description
NavigationInterface
add(ItemInterface $item)
Adds an item to the navigation.
array
getItems()
Returns all the items in the navigation.
NavigationInterface
setItems(array $items)
Replace all the existing items with new ones.
array
jsonSerialize()
{@inheritdoc}