src/Kamaln7/Toastr/ToastrServiceProvider.php
public function register()
	{
        $this->app['toastr'] = $this->app->share(function($app) {
            return new Toastr($app['session'], $app['config']);
        });
	}
public function register()
	{
        $this->app['toastr'] = $this->app->share(function($app) {
            return new Toastr($app['session'], $app['config']);
        });
	}
Register the service provider.

@return void