src/ClosuresContainerServiceProvider.php
/**
     * Register any package services.
     *
     * @return void
     */
Register any package services.
@return void
Register any package services . @return void
public function register()
    {
        $this->app->singleton('closures',function($app)
        {
            return ClosuresContainer::getInstance();
        });
    }
public function register ( ) { $ this -> app -> singleton ( 'closures' , function ( $ app ) { return ClosuresContainer :: getInstance ( ) ; } ) ; }
Register any package services.
Register any package services .