src/Way/Generators/GeneratorsServiceProvider.php
protected function registerMigration()
    {
        $this->app['generate.migration'] = $this->app->share(function($app)
        {
            return $this->app->make('Way\Generators\Commands\MigrationGeneratorCommand');
        });

        $this->commands('generate.migration');
    }
protected function registerMigration()
    {
        $this->app['generate.migration'] = $this->app->share(function($app)
        {
            return $this->app->make('Way\Generators\Commands\MigrationGeneratorCommand');
        });

        $this->commands('generate.migration');
    }
protected function registerMigration ( ) { $ this -> app [ 'generate.migration' ] = $ this -> app -> share ( function ( $ app ) { return $ this -> app -> make ( 'Way\Generators\Commands\MigrationGeneratorCommand' ) ; } ) ; $ this -> commands ( 'generate.migration' ) ; }
Register the migration generator
Register the migration generator