NoticeServiceProvider.php
public function register()
	{
        $this->app->singleton('notice', function()
        {
        	$session = $this->app->make('Illuminate\Session\Store');

            return new Notice($session, 'flash_notice');
        });
	}
public function register()
	{
        $this->app->singleton('notice', function()
        {
        	$session = $this->app->make('Illuminate\Session\Store');

            return new Notice($session, 'flash_notice');
        });
	}
public function register ( ) { $ this -> app -> singleton ( 'notice' , function ( ) { $ session = $ this -> app -> make ( 'Illuminate\Session\Store' ) ; return new Notice ( $ session , 'flash_notice' ) ; } ) ; }
Register the service provider.

@return void
Register the service provider .