public function menu($menu = null, $options = array())
	{
		$menu = $menu ?: $this->getDefaultMenu();

		// If the given menu has not been created before, we will create the instances
		// here and cache it so we can return it next time very quickly. If there is
		// already a menu created by this name, we'll just return that instance.
		if (!isset($this->menus[$menu]))
		{
			$this->menus[$menu] = $this->createMenu($menu, $options);
		}

		return $this->menus[$menu];
	}
public function menu($menu = null, $options = array())
	{
		$menu = $menu ?: $this->getDefaultMenu();

		// If the given menu has not been created before, we will create the instances
		// here and cache it so we can return it next time very quickly. If there is
		// already a menu created by this name, we'll just return that instance.
		if (!isset($this->menus[$menu]))
		{
			$this->menus[$menu] = $this->createMenu($menu, $options);
		}

		return $this->menus[$menu];
	}
public function menu ( $ menu = null , $ options = array ( ) ) { $ menu = $ menu ? : $ this -> getDefaultMenu ( ) ; // If the given menu has not been created before, we will create the instances // here and cache it so we can return it next time very quickly. If there is // already a menu created by this name, we'll just return that instance. if ( ! isset ( $ this -> menus [ $ menu ] ) ) { $ this -> menus [ $ menu ] = $ this -> createMenu ( $ menu , $ options ) ; } return $ this -> menus [ $ menu ] ; }
Get a menu instance.

@param   string  $menu
@return  mixed
Get a menu instance .