ok
Direktori : /home2/selectio/www/3-idiots/vendor/brian2694/laravel-toastr/src/ |
Current File : /home2/selectio/www/3-idiots/vendor/brian2694/laravel-toastr/src/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']; } }