protected function registerFormHelper()
    {
        $this->app->singleton('laravel-form-helper', function ($app) {

            $configuration = $app['config']->get('laravel-form-builder');

            return new FormHelper($app['view'], $app['translator'], $configuration);
        });

        $this->app->alias('laravel-form-helper', 'Kris\LaravelFormBuilder\FormHelper');
    }
protected function registerFormHelper()
    {
        $this->app->singleton('laravel-form-helper', function ($app) {

            $configuration = $app['config']->get('laravel-form-builder');

            return new FormHelper($app['view'], $app['translator'], $configuration);
        });

        $this->app->alias('laravel-form-helper', 'Kris\LaravelFormBuilder\FormHelper');
    }
protected function registerFormHelper ( ) { $ this -> app -> singleton ( 'laravel-form-helper' , function ( $ app ) { $ configuration = $ app [ 'config' ] -> get ( 'laravel-form-builder' ) ; return new FormHelper ( $ app [ 'view' ] , $ app [ 'translator' ] , $ configuration ) ; } ) ; $ this -> app -> alias ( 'laravel-form-helper' , 'Kris\LaravelFormBuilder\FormHelper' ) ; }
Register the form helper.

@return void
Register the form helper .