/home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/Console
NameSizeModeActions
stubs/-0755rm
ExportMakeCommand.php22330644editdlrm
ImportMakeCommand.php20220644editdlrm
WithModelStub.php11500644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/Console/WithModelStub.php (1150B)
parseModel($this->option('model')); return array_merge($replace, [ 'DummyFullModelClass' => $modelClass, 'DummyModelClass' => class_basename($modelClass), ]); } /** * Get the fully-qualified model class name. * * @param string $model * * @return string */ protected function parseModel($model): string { if (preg_match('([^A-Za-z0-9_/\\\\])', $model)) { throw new InvalidArgumentException('Model name contains invalid characters.'); } $model = trim(str_replace('/', '\\', $model), '\\'); if (!Str::startsWith($model, $rootNamespace = $this->laravel->getNamespace())) { $model = $rootNamespace . $model; } return $model; } }