We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e419725 commit c27a6b5Copy full SHA for c27a6b5
1 file changed
src/Concerns/InteractsWithConsole.php
@@ -31,4 +31,14 @@ public function rollback(): string
31
32
return $output->fetch();
33
}
34
+
35
+ public function seed(): string
36
+ {
37
+ $input = new ArrayInput([]);
38
+ $output = new BufferedOutput();
39
40
+ ApplicationContext::getContainer()->get(SeedCommand::class)->run($input, $output);
41
42
+ return $output->fetch();
43
+ }
44
0 commit comments