src/View/Helper/NavbarHelper.php
public function endMenu() {
        $template = 'outerMenuEnd';
        $options = [];
        if ($this->_level == 2) {
            $template = 'innerMenuEnd';
            $options['dropdownMenuEnd'] = $this->formatTemplate('dropdownMenuEnd', []);
        }
        $this->_level -= 1;
        return $this->formatTemplate($template, $options);
    }
public function endMenu() {
        $template = 'outerMenuEnd';
        $options = [];
        if ($this->_level == 2) {
            $template = 'innerMenuEnd';
            $options['dropdownMenuEnd'] = $this->formatTemplate('dropdownMenuEnd', []);
        }
        $this->_level -= 1;
        return $this->formatTemplate($template, $options);
    }
public function endMenu ( ) { $ template = 'outerMenuEnd' ; $ options = [ ] ; if ( $ this -> _level == 2 ) { $ template = 'innerMenuEnd' ; $ options [ 'dropdownMenuEnd' ] = $ this -> formatTemplate ( 'dropdownMenuEnd' , [ ] ) ; } $ this -> _level -= 1 ; return $ this -> formatTemplate ( $ template , $ options ) ; }
End a menu.

@return string HTML elements to close a menu.
End a menu .