public function renderMenu(Collection $menu, RendererInterface $renderer = null)
	{
		if ($renderer === null) {
			$renderer = $this->getDefaultRenderer();
		}

		return $renderer->render($menu);
	}
public function renderMenu(Collection $menu, RendererInterface $renderer = null)
	{
		if ($renderer === null) {
			$renderer = $this->getDefaultRenderer();
		}

		return $renderer->render($menu);
	}
public function renderMenu ( Collection $ menu , RendererInterface $ renderer = null ) { if ( $ renderer === null ) { $ renderer = $ this -> getDefaultRenderer ( ) ; } return $ renderer -> render ( $ menu ) ; }
Render a menu collection instance.

@param  Collection $menu
@param  RendererInterface $renderer Optional

@return string
Render a menu collection instance .