mirror of
https://github.com/idanoo/laravel-resque.git
synced 2025-06-30 18:42:15 +00:00
add command
This commit is contained in:
parent
8bb8f723dc
commit
c2e8486494
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue