Skip to content

Commit 3187767

Browse files
authored
[12.x] Fix GeneratorCommand missing possibleModels() method (#57769)
Regression issue introduced via #57671 Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent e857cb5 commit 3187767

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Illuminate/Console/GeneratorCommand.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,18 @@ protected function qualifyModel(string $model)
242242
: $rootNamespace.$model;
243243
}
244244

245+
/**
246+
* Get a list of possible model names.
247+
*
248+
* @return array<int, string>
249+
*
250+
* @deprecated 12.38.0 Use `findAvailableModels()` method instead.
251+
*/
252+
protected function possibleModels()
253+
{
254+
return $this->findAvailableModels();
255+
}
256+
245257
/**
246258
* Get a list of possible event names.
247259
*

0 commit comments

Comments
 (0)