public function navbar(Closure $builder = null)
    {
        if (is_null($builder)) {
            return $this->getNavbar();
        }

        call_user_func($builder, $this->getNavbar());
    }
public function navbar(Closure $builder = null)
    {
        if (is_null($builder)) {
            return $this->getNavbar();
        }

        call_user_func($builder, $this->getNavbar());
    }
public function navbar ( Closure $ builder = null ) { if ( is_null ( $ builder ) ) { return $ this -> getNavbar ( ) ; } call_user_func ( $ builder , $ this -> getNavbar ( ) ) ; }
Set navbar.

@param Closure|null $builder

@return Navbar
Set navbar .