InfyOm\Generator\Commands\Common\MigrationGeneratorCommand::handle PHP Method

handle() public method

Execute the command.
public handle ( ) : void
return void
    public function handle()
    {
        parent::handle();
        if ($this->commandData->getOption('fromTable')) {
            $this->error('fromTable option is now allowed to use with migration generator');
            return;
        }
        $migrationGenerator = new MigrationGenerator($this->commandData);
        $migrationGenerator->generate();
        $this->performPostActionsWithMigration();
    }