File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 8
8
use Illuminate \Cache \Console \ForgetCommand as CacheForgetCommand ;
9
9
use Illuminate \Console \Scheduling \ScheduleFinishCommand ;
10
10
use Illuminate \Console \Scheduling \ScheduleRunCommand ;
11
+ use Illuminate \Console \Scheduling \ScheduleWorkCommand ;
11
12
use Illuminate \Database \Console \DumpCommand ;
12
13
use Illuminate \Database \Console \Migrations \FreshCommand as MigrateFreshCommand ;
13
14
use Illuminate \Database \Console \Migrations \InstallCommand as MigrateInstallCommand ;
@@ -63,6 +64,7 @@ class ConsoleServiceProvider extends ServiceProvider
63
64
'Wipe ' => 'command.wipe ' ,
64
65
'ScheduleFinish ' => ScheduleFinishCommand::class,
65
66
'ScheduleRun ' => ScheduleRunCommand::class,
67
+ 'ScheduleWork ' => ScheduleWorkCommand::class,
66
68
'SchemaDump ' => 'command.schema.dump ' ,
67
69
];
68
70
@@ -446,6 +448,16 @@ protected function registerScheduleRunCommand()
446
448
$ this ->app ->singleton (ScheduleRunCommand::class);
447
449
}
448
450
451
+ /**
452
+ * Register the command.
453
+ *
454
+ * @return void
455
+ */
456
+ protected function registerScheduleWorkCommand ()
457
+ {
458
+ $ this ->app ->singleton (ScheduleWorkCommand::class);
459
+ }
460
+
449
461
/**
450
462
* Register the command.
451
463
*
You can’t perform that action at this time.
0 commit comments