public function &addDropDownSubmenu($name, $items)
    {
        $dropdown = $this->addItem(new \Ease\Html\UlTag(null,
                ['class' => 'dropdown-menu', 'role' => 'menu']));
        if (count($items)) {
            foreach ($items as $item) {
                $this->addMenuItem($item);
            }
        }

        return $dropdown;
    }
public function &addDropDownSubmenu($name, $items)
    {
        $dropdown = $this->addItem(new \Ease\Html\UlTag(null,
                ['class' => 'dropdown-menu', 'role' => 'menu']));
        if (count($items)) {
            foreach ($items as $item) {
                $this->addMenuItem($item);
            }
        }

        return $dropdown;
    }
public function & addDropDownSubmenu ( $ name , $ items ) { $ dropdown = $ this -> addItem ( new \ Ease \ Html \ UlTag ( null , [ 'class' => 'dropdown-menu' , 'role' => 'menu' ] ) ) ; if ( count ( $ items ) ) { foreach ( $ items as $ item ) { $ this -> addMenuItem ( $ item ) ; } } return $ dropdown ; }
Add Dropdown Submenu.

@param string $name
@param array  $items

@return \Ease\Html\UlTag
Add Dropdown Submenu .