public function addItem($name, \SlimStarter\Menu\MenuItem $item){
        $this->items[$name] = $item;
    }
public function addItem($name, \SlimStarter\Menu\MenuItem $item){
        $this->items[$name] = $item;
    }
public function addItem ( $ name , \ SlimStarter \ Menu \ MenuItem $ item ) { $ this -> items [ $ name ] = $ item ; }
Add new item to menuCollection
@param SlimStarter\Menu\MenuItem $item
@param String $menu
Add new item to menuCollection