src/TranslatableServiceProvider.php
public function boot()
    {
        $config = dirname(__DIR__) . '/config/translatable.php';

        $this->mergeConfigFrom($config, 'translatable');
        $this->publishes([$config => config_path('translatable.php')], 'config');

        TranslatableConfig::setDbSettings(
            $this->app['config']->get('translatable.db_settings')
        );

        TranslatableConfig::setDefaults(
            $this->app['config']->get('translatable.defaults')
        );
    }
public function boot()
    {
        $config = dirname(__DIR__) . '/config/translatable.php';

        $this->mergeConfigFrom($config, 'translatable');
        $this->publishes([$config => config_path('translatable.php')], 'config');

        TranslatableConfig::setDbSettings(
            $this->app['config']->get('translatable.db_settings')
        );

        TranslatableConfig::setDefaults(
            $this->app['config']->get('translatable.defaults')
        );
    }
public function boot ( ) { $ config = dirname ( __DIR__ ) . '/config/translatable.php' ; $ this -> mergeConfigFrom ( $ config , 'translatable' ) ; $ this -> publishes ( [ $ config => config_path ( 'translatable.php' ) ] , 'config' ) ; TranslatableConfig :: setDbSettings ( $ this -> app [ 'config' ] -> get ( 'translatable.db_settings' ) ) ; TranslatableConfig :: setDefaults ( $ this -> app [ 'config' ] -> get ( 'translatable.defaults' ) ) ; }
Boot the service provider.

@return void
Boot the service provider .