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 21b90a6 commit bd49b17Copy full SHA for bd49b17
src/BatchQueueServiceProvider.php
@@ -20,7 +20,19 @@ class BatchQueueServiceProvider extends ServiceProvider
20
{
21
public function register()
22
23
- $this->commands(QueueWorkBatchCommand::class);
+ $this->app->singleton(
24
+ 'command.queueawsbatch.work-batch',
25
+ function ($app) {
26
+ return new QueueWorkBatchCommand(
27
+ $app['queue'],
28
+ $app['queue.worker'],
29
+ $app['Illuminate\Foundation\Exceptions\Handler'],
30
+ $app['cache.store']
31
+ );
32
+ }
33
34
+
35
+ $this->commands('command.queueawsbatch.work-batch');
36
}
37
38
public function boot()
0 commit comments