Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
painelshopsuaboaforma.meumercado.app
/
vendor
/
brian2694
/
laravel-toastr
/
src
/
Editing: ToastrServiceProvider.php
<?php namespace Brian2694\Toastr; use Illuminate\Support\ServiceProvider; class ToastrServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { $this->publishes([ __DIR__ . '/config/toastr.php' => config_path('toastr.php'), ], 'config'); } /** * Register the application services. * * @return void */ public function register() { $this->app->singleton('toastr', function ($app) { return new Toastr($app['session'], $app['config']); }); } /** * Get the services provider by the provider * * @return array */ public function provides() { return ['toastr']; } }
Save
Cancel