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 5be85da commit b108895Copy full SHA for b108895
src/Illuminate/Database/Console/Seeds/SeedCommand.php
@@ -64,6 +64,12 @@ protected function getSeeder()
64
$class = 'DatabaseSeeder';
65
}
66
67
+ if (! $this->input->getOption('rollback') === true) {
68
+ return $this->laravel->make($class)
69
+ ->setContainer($this->laravel)
70
+ ->setCommand($this);
71
+ }
72
+
73
//Create a temporary file which will extend the desired class that we need to invoke.
74
$tempClassName = $class . 'ExtendsRollback';
75
if(str_contains($tempClassName, '\\')) {
0 commit comments