src/Aindong/Pluggables/PluggablesServiceProvider.php
/**
     * Register the migrator.
     *
     * @return void
     */
Register the migrator.
@return void
Register the migrator . @return void
private function registerMigrator()
    {
        $this->app->singleton('migrator', function ($app) {
            $repository = $app['migration.repository'];
            return new Migrator($repository, $app['db'], $app['files']);
        });
    }
private function registerMigrator ( ) { $ this -> app -> singleton ( 'migrator' , function ( $ app ) { $ repository = $ app [ 'migration.repository' ] ; return new Migrator ( $ repository , $ app [ 'db' ] , $ app [ 'files' ] ) ; } ) ; }
Register the migrator.
Register the migrator .