Elgg  Version 6.2
MenuItems.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Menu;
4 
6 
10 class MenuItems extends Collection {
11 
15  public function __construct($items = [], $item_class = \ElggMenuItem::class) {
16  parent::__construct($items, $item_class);
17  }
18 }
A collection of unique items.
Definition: Collection.php:14
A collection of menu items.
Definition: MenuItems.php:10
__construct($items=[], $item_class=\ElggMenuItem::class)
{Constructor.Items Member class Restrict members of the collection to instances of this class}
Definition: MenuItems.php:15