app/maguttiCms/Notifications/FlashServiceProvider.php
/**
     * Register the service provider.
     *
     * @return void
     */
Register the service provider.
@return void
Register the service provider . @return void
public function register()
    {
        $this->app->bind(
            'Laracasts\Flash\SessionStore',
            'Laracasts\Flash\LaravelSessionStore'
        );
        $this->app->singleton('flash', function () {
            return $this->app->make('App\maguttiCms\Notifications\FlashNotifier');
        });
    }
public function register ( ) { $ this -> app -> bind ( 'Laracasts\Flash\SessionStore' , 'Laracasts\Flash\LaravelSessionStore' ) ; $ this -> app -> singleton ( 'flash' , function ( ) { return $ this -> app -> make ( 'App\maguttiCms\Notifications\FlashNotifier' ) ; } ) ; }
Register the service provider.
Register the service provider .