askBaseDirectory(); return parent::handle(); // TODO: Change the autogenerated stub } /** * Get the stub file for the generator. * * @return string */ protected function getStub() { return __DIR__.'/stubs/form.stub'; } /** * Get the default namespace for the class. * * @param string $rootNamespace * * @return string */ protected function getDefaultNamespace($rootNamespace) { if ($namespace = $this->option('namespace')) { return $namespace; } return str_replace('Controllers', 'Forms', config('admin.route.namespace')); } /** * Get the desired class name from the input. * * @return string */ protected function getNameInput() { $name = trim($this->argument('name')); $this->type = $this->qualifyClass($name); return $name; } }