Caffeinated\Modules\Console\Commands\ModuleMigrateRollbackCommand::getOptions PHP Method

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array
    protected function getOptions()
    {
        return [['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'], ['force', null, InputOption::VALUE_NONE, 'Force the operation to run while in production.'], ['pretend', null, InputOption::VALUE_NONE, 'Dump the SQL queries that would be run.'], ['step', null, InputOption::VALUE_OPTIONAL, 'The number of migrations to be reverted.']];
    }