src/FlashServiceProvider.php
private function registerFlash()
    {
        $this->app->singleton('CodeZero\Flash\Flash', function () {
            $config = config('flash');
            $session = app()->make('CodeZero\Flash\SessionStore\SessionStore');
            $translator = app()->make('CodeZero\Flash\Translator\Translator');

            return new Flash($config, $session, $translator);
        });
    }
private function registerFlash()
    {
        $this->app->singleton('CodeZero\Flash\Flash', function () {
            $config = config('flash');
            $session = app()->make('CodeZero\Flash\SessionStore\SessionStore');
            $translator = app()->make('CodeZero\Flash\Translator\Translator');

            return new Flash($config, $session, $translator);
        });
    }
private function registerFlash ( ) { $ this -> app -> singleton ( 'CodeZero\Flash\Flash' , function ( ) { $ config = config ( 'flash' ) ; $ session = app ( ) -> make ( 'CodeZero\Flash\SessionStore\SessionStore' ) ; $ translator = app ( ) -> make ( 'CodeZero\Flash\Translator\Translator' ) ; return new Flash ( $ config , $ session , $ translator ) ; } ) ; }
Register the Flash binding.

@return void
Register the Flash binding .