/** * Get the path to the file that should be generated. * * @return string */ protected function getPath($locale = null) { return parent::getSrcPath(self::PATH_LANG, $locale ? $locale . GeneratorsServiceProvider::replaceModel($this->argument('name'), "{{dash-models}}") . '.php' : ''); }