src/Aindong/Pluggables/PluggablesServiceProvider.php
/**
     * Register services of the package.
     *
     * @return void
     */
Register services of the package.
@return void
Register services of the package . @return void
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.
Register services of the package .