protected function getPath($model, $path) { $name = Str::lower(str_replace('\\', '_', $model)); return $path . '/' . $name . '.php'; }