Nwidart\Modules\Commands\MigrateCommand::getOptions PHP Method

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array
    protected function getOptions()
    {
        return array(array('direction', 'd', InputOption::VALUE_OPTIONAL, 'The direction of ordering.', 'asc'), array('database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'), array('pretend', null, InputOption::VALUE_NONE, 'Dump the SQL queries that would be run.'), array('force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'), array('seed', null, InputOption::VALUE_NONE, 'Indicates if the seed task should be re-run.'));
    }