Helper/Bootstrap/Addon/Menu.php
public function setMenu(DropDownMenu $menu)
    {
        if ($this->menu instanceof DropDownMenu) {
            Checkers::notice('A dropdown menu already exists. The old one will be delete.');
        }
        $this->menu = $menu;
        return $this;
    }
public function setMenu(DropDownMenu $menu)
    {
        if ($this->menu instanceof DropDownMenu) {
            Checkers::notice('A dropdown menu already exists. The old one will be delete.');
        }
        $this->menu = $menu;
        return $this;
    }
public function setMenu ( DropDownMenu $ menu ) { if ( $ this -> menu instanceof DropDownMenu ) { Checkers :: notice ( 'A dropdown menu already exists. The old one will be delete.' ) ; } $ this -> menu = $ menu ; return $ this ; }
Attach a dropdown menu
@param \Osf\View\Helper\Bootstrap\Addon\Addon\DropDownMenu $menu
@return $this
Attach a dropdown menu