src/View/Helper/NavbarHelper.php
public function header($name, array $options = []) {
        $options += ['templateVars' => []];
        return $this->formatTemplate('innerMenuItemHeader', [
            'content' => $name,
            'attrs' => $this->templater()->formatAttributes($options),
            'templateVars' => $options['templateVars']
        ]);
    }
public function header($name, array $options = []) {
        $options += ['templateVars' => []];
        return $this->formatTemplate('innerMenuItemHeader', [
            'content' => $name,
            'attrs' => $this->templater()->formatAttributes($options),
            'templateVars' => $options['templateVars']
        ]);
    }
public function header ( $ name , array $ options = [ ] ) { $ options += [ 'templateVars' => [ ] ] ; return $ this -> formatTemplate ( 'innerMenuItemHeader' , [ 'content' => $ name , 'attrs' => $ this -> templater ( ) -> formatAttributes ( $ options ) , 'templateVars' => $ options [ 'templateVars' ] ] ) ; }
Add a header to an inner menu of the navbar.

### Options

- `templateVars` Provide template variables for the header template.
- Other attributes will be assigned to the header element.
*
@param string $name Title of the header.
@param array $options Array of options for the wrapper tag.

@return A HTML header tag.
Add a header to an inner menu of the navbar .