public function createMenu(string $id, string $class): string
    {
        $output = $this->addOpeningNav($id);
        if ($this->options['brand']['name'] !== '') $output .= $this->addBranding();
        if ($this->options['mobile']) $output .= $this->addMobileButton();
        $output .= '<div class="collapse navbar-collapse" id="bootstrapMenu">';
        $output .= $this->createLeftMenu();
        $output .= $this->createRightMenu();
        $output .= '</div>';
        $output .= '</nav>';
        return $output;
    }
public function createMenu(string $id, string $class): string
    {
        $output = $this->addOpeningNav($id);
        if ($this->options['brand']['name'] !== '') $output .= $this->addBranding();
        if ($this->options['mobile']) $output .= $this->addMobileButton();
        $output .= '<div class="collapse navbar-collapse" id="bootstrapMenu">';
        $output .= $this->createLeftMenu();
        $output .= $this->createRightMenu();
        $output .= '</div>';
        $output .= '</nav>';
        return $output;
    }
public function createMenu ( string $ id , string $ class ) : string { $ output = $ this -> addOpeningNav ( $ id ) ; if ( $ this -> options [ 'brand' ] [ 'name' ] !== '' ) $ output .= $ this -> addBranding ( ) ; if ( $ this -> options [ 'mobile' ] ) $ output .= $ this -> addMobileButton ( ) ; $ output .= '<div class="collapse navbar-collapse" id="bootstrapMenu">' ; $ output .= $ this -> createLeftMenu ( ) ; $ output .= $ this -> createRightMenu ( ) ; $ output .= '</div>' ; $ output .= '</nav>' ; return $ output ; }
1.0 Start of creating the bootstrap menu

@param string $id
@param string $class
@return string
1 . 0 Start of creating the bootstrap menu