public function setItems(array $items) : void
    {
        $this->selectedItem = null;
        $this->items = $items;

        $this->selectFirstItem();
    }
public function setItems(array $items) : void
    {
        $this->selectedItem = null;
        $this->items = $items;

        $this->selectFirstItem();
    }
public function setItems ( array $ items ) : void { $ this -> selectedItem = null ; $ this -> items = $ items ; $ this -> selectFirstItem ( ) ; }
Set Items of the menu
Set Items of the menu