render(); } /** * @return mixed */ protected function getDestinationFilePath() { $path = $this->laravel['modules']->getModulePath($this->getModuleName()); $factoryPath = GenerateConfigReader::read('factory'); return $path.$factoryPath->getPath().'/'.$this->getFileName(); } /** * @return string */ private function getFileName() { return Str::studly($this->argument('name')).'.php'; } }