src/HtmlServiceProvider.php
protected function registerFormBuilder()
    {
        $this->app->singleton('form', function ($app) {
            $this->loadConfigurationOptions();

            $form = new FormBuilder(
                $app['html'],
                $app['url'],
                $app['session.store']->token(),
                $this->getTheme()
            );

            $form->novalidate(
                $app['config']->get('html.novalidate', false)
            );

            return $form->setSessionStore($app['session.store']);
        });
    }
protected function registerFormBuilder()
    {
        $this->app->singleton('form', function ($app) {
            $this->loadConfigurationOptions();

            $form = new FormBuilder(
                $app['html'],
                $app['url'],
                $app['session.store']->token(),
                $this->getTheme()
            );

            $form->novalidate(
                $app['config']->get('html.novalidate', false)
            );

            return $form->setSessionStore($app['session.store']);
        });
    }
protected function registerFormBuilder ( ) { $ this -> app -> singleton ( 'form' , function ( $ app ) { $ this -> loadConfigurationOptions ( ) ; $ form = new FormBuilder ( $ app [ 'html' ] , $ app [ 'url' ] , $ app [ 'session.store' ] -> token ( ) , $ this -> getTheme ( ) ) ; $ form -> novalidate ( $ app [ 'config' ] -> get ( 'html.novalidate' , false ) ) ; return $ form -> setSessionStore ( $ app [ 'session.store' ] ) ; } ) ; }
Register the Form Builder instance.
Register the Form Builder instance .