src/View/Helper/Navigation/Navbar.php
protected function createNavbarMenuClass(AbstractPage $page, $ulClass, $depth)
    {
        if ($depth === 0 && $ulClass) {
            return ' class="' . $this->escapeHtmlAttribute($ulClass) . '"';
        } elseif ($page->getParent() && $depth <= self::MAX_RENDER_DEPTH) {
            return ' class="dropdown-menu"';
        }

        return '';
    }
protected function createNavbarMenuClass(AbstractPage $page, $ulClass, $depth)
    {
        if ($depth === 0 && $ulClass) {
            return ' class="' . $this->escapeHtmlAttribute($ulClass) . '"';
        } elseif ($page->getParent() && $depth <= self::MAX_RENDER_DEPTH) {
            return ' class="dropdown-menu"';
        }

        return '';
    }
protected function createNavbarMenuClass ( AbstractPage $ page , $ ulClass , $ depth ) { if ( $ depth === 0 && $ ulClass ) { return ' class="' . $ this -> escapeHtmlAttribute ( $ ulClass ) . '"' ; } elseif ( $ page -> getParent ( ) && $ depth <= self :: MAX_RENDER_DEPTH ) { return ' class="dropdown-menu"' ; } return '' ; }
Create navbar menu class

@param  AbstractPage $page    Page being rendered
@param  string       $ulClass The ul class to set,
$param  integer      $depth   Current iteration depth
@return string
Create navbar menu class