We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743d75d commit 6f5ba29Copy full SHA for 6f5ba29
src/Sprout/Seedling.php
@@ -16,4 +16,23 @@ public static function commands(): array
16
Seedling\DeleteConsoleCommand::class,
17
];
18
}
19
+
20
+ public static function moduleCommands(): array
21
+ {
22
+ $commands = [];
23
24
+ if (class_exists('Leaf\Queue')) {
25
+ $commands[] = \Leaf\Queue::commands();
26
+ }
27
28
+ if (class_exists('Leaf\Billing')) {
29
+ $commands[] = \Leaf\Billing::commands();
30
31
32
+ if (class_exists('Leaf\Schema')) {
33
+ $commands[] = \Leaf\Commands\DatabaseCommands::commands();
34
35
36
+ return $commands;
37
38
0 commit comments