Iber\Generator\Commands\MakeModelsCommand::getOptions PHP Метод

getOptions() защищенный Метод

Get the console command options.
protected getOptions ( ) : array
Результат array
    protected function getOptions()
    {
        return [['tables', null, InputOption::VALUE_OPTIONAL, 'Comma separated table names to generate', null], ['dir', null, InputOption::VALUE_OPTIONAL, 'Model directory', $this->namespace], ['extends', null, InputOption::VALUE_OPTIONAL, 'Parent class', $this->extends], ['fillable', null, InputOption::VALUE_OPTIONAL, 'Rules for $fillable array columns', $this->fillableRules], ['guarded', null, InputOption::VALUE_OPTIONAL, 'Rules for $guarded array columns', $this->guardedRules], ['timestamps', null, InputOption::VALUE_OPTIONAL, 'Rules for $timestamps columns', $this->timestampRules], ['ignore', "i", InputOption::VALUE_OPTIONAL, 'Ignores the tables you define, separated with ,', null], ['force', "f", InputOption::VALUE_OPTIONAL, 'Force override', false], ['ignoresystem', "s", InputOption::VALUE_NONE, 'If you want to ignore system tables.
            Just type --ignoresystem or -s'], ['getset', 'm', InputOption::VALUE_NONE, 'Defines if you want to generate set and get methods']];
    }