src/SodaServiceProvider.php
/**
     * Perform post-registration booting of services.
     *
     * @return void
     */
Perform post-registration booting of services.
@return void
Perform post - registration booting of services . @return void
public function boot()
    {
        $this->configure();
        $this->publishes([__DIR__.'/../config/publish' => config_path('soda')], 'soda.config');
        $this->publishes([__DIR__.'/../public' => public_path('soda/cms')], 'soda.assets');
        $this->loadMigrationsFrom(__DIR__.'/../migrations');
        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'soda');
        $this->loadViewsFrom(__DIR__.'/../resources/views', config('soda.cms.hint'));
        $this->extendBlade();
        $this->registerDependencies([
            RouteServiceProvider::class,
        ]);
    }
public function boot ( ) { $ this -> configure ( ) ; $ this -> publishes ( [ __DIR__ . '/../config/publish' => config_path ( 'soda' ) ] , 'soda.config' ) ; $ this -> publishes ( [ __DIR__ . '/../public' => public_path ( 'soda/cms' ) ] , 'soda.assets' ) ; $ this -> loadMigrationsFrom ( __DIR__ . '/../migrations' ) ; $ this -> loadTranslationsFrom ( __DIR__ . '/../resources/lang' , 'soda' ) ; $ this -> loadViewsFrom ( __DIR__ . '/../resources/views' , config ( 'soda.cms.hint' ) ) ; $ this -> extendBlade ( ) ; $ this -> registerDependencies ( [ RouteServiceProvider :: class , ] ) ; }
Perform post-registration booting of services.
Perform post - registration booting of services .
// Publishing configs