protected function registerFormBuilder(): void
    {
        $this->app->singleton('form', function ($app) {
            return (new FormBuilder(
                $app->make('html'), $app->make('url'), $app->make('view'), $app->make('request')
            ))->setSessionStore($app->make('session.store'));
        });
    }
protected function registerFormBuilder(): void
    {
        $this->app->singleton('form', function ($app) {
            return (new FormBuilder(
                $app->make('html'), $app->make('url'), $app->make('view'), $app->make('request')
            ))->setSessionStore($app->make('session.store'));
        });
    }
protected function registerFormBuilder ( ) : void { $ this -> app -> singleton ( 'form' , function ( $ app ) { return ( new FormBuilder ( $ app -> make ( 'html' ) , $ app -> make ( 'url' ) , $ app -> make ( 'view' ) , $ app -> make ( 'request' ) ) ) -> setSessionStore ( $ app -> make ( 'session.store' ) ) ; } ) ; }
Register the form builder instance.

@return void
Register the form builder instance .