Baum\Providers\BaumServiceProvider::registerInstallCommand PHP Method

registerInstallCommand() protected method

Register the 'baum:install' command.
protected registerInstallCommand ( ) : void
return void
    protected function registerInstallCommand()
    {
        $this->app->singleton('command.baum.install', function ($app) {
            $migrator = new MigrationGenerator($app['files']);
            $modeler = new ModelGenerator($app['files']);
            return new InstallCommand($migrator, $modeler);
        });
    }