public static function navBarHeader($handle, $brand)
    {
        $navstyle       = '.navbar-'.$handle.'-collapse';
        $nbhc['button'] = new \Ease\Html\ButtonTag([new \Ease\Html\Span(
                _('Switch navigation'), ['class' => 'sr-only']), new \Ease\Html\Span(
                null, ['class' => 'icon-bar']), new \Ease\Html\Span(
                null, ['class' => 'icon-bar']), new \Ease\Html\Span(
                null, ['class' => 'icon-bar'])],
            ['type' => 'button', 'class' => 'navbar-toggle', 'data-toggle' => 'collapse',
            'data-target' => $navstyle,]);
        if (strlen($brand)) {
            $nbhc['brand'] = new \Ease\Html\ATag('./', $brand,
                ['class' => 'navbar-brand']);
        }

        return new \Ease\Html\DivTag($nbhc, ['class' => 'navbar-header']);
    }
public static function navBarHeader($handle, $brand)
    {
        $navstyle       = '.navbar-'.$handle.'-collapse';
        $nbhc['button'] = new \Ease\Html\ButtonTag([new \Ease\Html\Span(
                _('Switch navigation'), ['class' => 'sr-only']), new \Ease\Html\Span(
                null, ['class' => 'icon-bar']), new \Ease\Html\Span(
                null, ['class' => 'icon-bar']), new \Ease\Html\Span(
                null, ['class' => 'icon-bar'])],
            ['type' => 'button', 'class' => 'navbar-toggle', 'data-toggle' => 'collapse',
            'data-target' => $navstyle,]);
        if (strlen($brand)) {
            $nbhc['brand'] = new \Ease\Html\ATag('./', $brand,
                ['class' => 'navbar-brand']);
        }

        return new \Ease\Html\DivTag($nbhc, ['class' => 'navbar-header']);
    }
public static function navBarHeader ( $ handle , $ brand ) { $ navstyle = '.navbar-' . $ handle . '-collapse' ; $ nbhc [ 'button' ] = new \ Ease \ Html \ ButtonTag ( [ new \ Ease \ Html \ Span ( _ ( 'Switch navigation' ) , [ 'class' => 'sr-only' ] ) , new \ Ease \ Html \ Span ( null , [ 'class' => 'icon-bar' ] ) , new \ Ease \ Html \ Span ( null , [ 'class' => 'icon-bar' ] ) , new \ Ease \ Html \ Span ( null , [ 'class' => 'icon-bar' ] ) ] , [ 'type' => 'button' , 'class' => 'navbar-toggle' , 'data-toggle' => 'collapse' , 'data-target' => $ navstyle , ] ) ; if ( strlen ( $ brand ) ) { $ nbhc [ 'brand' ] = new \ Ease \ Html \ ATag ( './' , $ brand , [ 'class' => 'navbar-brand' ] ) ; } return new \ Ease \ Html \ DivTag ( $ nbhc , [ 'class' => 'navbar-header' ] ) ; }
NavBar header code

@param string $handle classname fragment
@param string $brand  menu brand name

@return \Ease\Html\DivTag
NavBar header code