src/Aindong/Pluggables/PluggablesServiceProvider.php
/**
     * Register the service provider.
     *
     * @return void
     */
Register the service provider.
@return void
Register the service provider . @return void
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__.'/../../config/pluggables.php', 'pluggables'
        );
        $this->registerServices();
        $this->registerRepository();
        $this->registerMigrator();
        $this->registerConsoleCommands();
    }
public function register ( ) { $ this -> mergeConfigFrom ( __DIR__ . '/../../config/pluggables.php' , 'pluggables' ) ; $ this -> registerServices ( ) ; $ this -> registerRepository ( ) ; $ this -> registerMigrator ( ) ; $ this -> registerConsoleCommands ( ) ; }
Register the service provider.
Register the service provider .
// Merge our config file with the application's copy of config file, to allow user to // just override the configuration that they wanted to make and keep the defaults that are // not touched // Register Services // Register Repository // Register Migrator // Once the migrator instance is set, go ahead and register all migration related commands that are // used by the artisan commands for easy access // Register Console Commands