src/View/Helper/Navigation/Navbar.php
public function setRightMenu($container)
    {
        if (null === $container) {
            throw Exception\InvalidArgumentException(
                'Container must be a string alias or an instance of '
                . 'Zend\Navigation\AbstractContainer'
            );
        }
        $this->parseContainer($container);
        $this->rightMenu = $container;
        return $this;
    }
public function setRightMenu($container)
    {
        if (null === $container) {
            throw Exception\InvalidArgumentException(
                'Container must be a string alias or an instance of '
                . 'Zend\Navigation\AbstractContainer'
            );
        }
        $this->parseContainer($container);
        $this->rightMenu = $container;
        return $this;
    }
public function setRightMenu ( $ container ) { if ( null === $ container ) { throw Exception \ InvalidArgumentException ( 'Container must be a string alias or an instance of ' . 'Zend\Navigation\AbstractContainer' ) ; } $ this -> parseContainer ( $ container ) ; $ this -> rightMenu = $ container ; return $ this ; }
Set right menu

@param boolean|string|AbstractContainer $container Container to render or
false for no menu
@return Navbar
Set right menu