public function boot()
    {
        $config = dirname(__DIR__) . '/config/form.php';
        $this->mergeConfigFrom($config, 'form');
        $this->publishes([$config => config_path('form.php')], 'config');

        $presenter = config('form.presenter', 'Laraplus\Form\Presenters\Bootstrap3Presenter');

        $this->app->bind('Laraplus\Form\Contracts\FormPresenter', $presenter);
        $this->app->singleton('laraplus.form', 'Laraplus\Form\Form');
    }
public function boot()
    {
        $config = dirname(__DIR__) . '/config/form.php';
        $this->mergeConfigFrom($config, 'form');
        $this->publishes([$config => config_path('form.php')], 'config');

        $presenter = config('form.presenter', 'Laraplus\Form\Presenters\Bootstrap3Presenter');

        $this->app->bind('Laraplus\Form\Contracts\FormPresenter', $presenter);
        $this->app->singleton('laraplus.form', 'Laraplus\Form\Form');
    }
public function boot ( ) { $ config = dirname ( __DIR__ ) . '/config/form.php' ; $ this -> mergeConfigFrom ( $ config , 'form' ) ; $ this -> publishes ( [ $ config => config_path ( 'form.php' ) ] , 'config' ) ; $ presenter = config ( 'form.presenter' , 'Laraplus\Form\Presenters\Bootstrap3Presenter' ) ; $ this -> app -> bind ( 'Laraplus\Form\Contracts\FormPresenter' , $ presenter ) ; $ this -> app -> singleton ( 'laraplus.form' , 'Laraplus\Form\Form' ) ; }
Boot the service provider
Boot the service provider