src/View/Helper/Navigation/Navbar.php
protected function createNavbarContainerClass(array $options)
    {
        // Create navbar container class
        $containerClass = 'navbar';
        if ($options['inverse']) {
            $containerClass .= ' navbar-inverse';
        }
        if ($options['fixed']) {
            $containerClass .= ' navbar-fixed-';
            switch ($options['fixed']) {
                case 'top':
                case 'bottom':
                    $containerClass .= $options['fixed'];
                    break;
                default:
                    throw new Exception\InvalidArgumentException(
                        'Only top and bottom are acceptable navbarFixed options'
                    );
            }
        }
        return $containerClass;
    }
protected function createNavbarContainerClass(array $options)
    {
        // Create navbar container class
        $containerClass = 'navbar';
        if ($options['inverse']) {
            $containerClass .= ' navbar-inverse';
        }
        if ($options['fixed']) {
            $containerClass .= ' navbar-fixed-';
            switch ($options['fixed']) {
                case 'top':
                case 'bottom':
                    $containerClass .= $options['fixed'];
                    break;
                default:
                    throw new Exception\InvalidArgumentException(
                        'Only top and bottom are acceptable navbarFixed options'
                    );
            }
        }
        return $containerClass;
    }
protected function createNavbarContainerClass ( array $ options ) { // Create navbar container class $ containerClass = 'navbar' ; if ( $ options [ 'inverse' ] ) { $ containerClass .= ' navbar-inverse' ; } if ( $ options [ 'fixed' ] ) { $ containerClass .= ' navbar-fixed-' ; switch ( $ options [ 'fixed' ] ) { case 'top' : case 'bottom' : $ containerClass .= $ options [ 'fixed' ] ; break ; default : throw new Exception \ InvalidArgumentException ( 'Only top and bottom are acceptable navbarFixed options' ) ; } } return $ containerClass ; }
Create navbar container class

@param  array $options Options for controlling rendering
@return array
@throws Exception\InvalidArgumentException
Create navbar container class