src/Aindong/Pluggables/PluggablesServiceProvider.php
private function registerServices()
    {
        $this->app->singleton('pluggables', function ($app) {
            return new Pluggables($app['config'], $app['files']);
        });

        $this->app->booting(function ($app) {
            $app['pluggables']->register();
        });
    }
private function registerServices()
    {
        $this->app->singleton('pluggables', function ($app) {
            return new Pluggables($app['config'], $app['files']);
        });

        $this->app->booting(function ($app) {
            $app['pluggables']->register();
        });
    }
private function registerServices ( ) { $ this -> app -> singleton ( 'pluggables' , function ( $ app ) { return new Pluggables ( $ app [ 'config' ] , $ app [ 'files' ] ) ; } ) ; $ this -> app -> booting ( function ( $ app ) { $ app [ 'pluggables' ] -> register ( ) ; } ) ; }
Register services of the package.

@return void
Register services of the package .