Efficiently\Larasset\LarassetServiceProvider::boot PHP Method

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void
    public function boot()
    {
        // Publish config
        $this->publishes([__DIR__ . '/../../config/config.php' => config_path('larasset.php')], 'config');
        $this->mergeConfigFrom(__DIR__ . '/../../config/config.php', 'larasset');
        // Init assets
        $this->app->make('asset', [public_path() . "/assets"]);
    }