public function menu($name = 'default')
    {
        if (!isset($this->menus[$name])) {
            $this->menus[$name] = new Menu($this);
        }

        return $this->menus[$name];
    }
public function menu($name = 'default')
    {
        if (!isset($this->menus[$name])) {
            $this->menus[$name] = new Menu($this);
        }

        return $this->menus[$name];
    }
public function menu ( $ name = 'default' ) { if ( ! isset ( $ this -> menus [ $ name ] ) ) { $ this -> menus [ $ name ] = new Menu ( $ this ) ; } return $ this -> menus [ $ name ] ; }
Get menu with a specific name

@param string $name

@return Menu
Get menu with a specific name