mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-21 16:11:59 +00:00
add command
This commit is contained in:
parent
8bb8f723dc
commit
c2e8486494
@ -1,7 +1,6 @@
|
||||
<?php
|
||||
namespace Hlgrrnhrdt\Resque;
|
||||
|
||||
use Config;
|
||||
use Hlgrrnhrdt\Resque\Console\WorkCommand;
|
||||
use Illuminate\Contracts\Foundation\Application;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
@ -44,5 +43,6 @@ class ResqueServiceProvider extends ServiceProvider
|
||||
$this->app->singleton('command.resque.work', function (Application $app) {
|
||||
return new WorkCommand($app->make('resque.manager'));
|
||||
});
|
||||
$this->commands('command.resque.work');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user