diff --git a/src/Illuminate/Console/GeneratorCommand.php b/src/Illuminate/Console/GeneratorCommand.php index a66a5e3b9747..216f064909b0 100644 --- a/src/Illuminate/Console/GeneratorCommand.php +++ b/src/Illuminate/Console/GeneratorCommand.php @@ -242,6 +242,18 @@ protected function qualifyModel(string $model) : $rootNamespace.$model; } + /** + * Get a list of possible model names. + * + * @return array + * + * @deprecated 12.38.0 Use `findAvailableModels()` method instead. + */ + protected function possibleModels() + { + return $this->findAvailableModels(); + } + /** * Get a list of possible event names. *