option('model')); $table = Str::plural($model); $stub = str_replace('DummyModel', $model, $stub); $stub = str_replace('DummyTable', $table, $stub); return $stub; } /** * @return array */ protected function getOptions() { return [ ['model', 'm', InputOption::VALUE_OPTIONAL, 'The model that the request applies to.'], ]; } }