mirror of
https://github.com/idanoo/laravel-resque.git
synced 2025-07-01 11:02:14 +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
|
<?php
|
||||||
namespace Hlgrrnhrdt\Resque;
|
namespace Hlgrrnhrdt\Resque;
|
||||||
|
|
||||||
use Config;
|
|
||||||
use Hlgrrnhrdt\Resque\Console\WorkCommand;
|
use Hlgrrnhrdt\Resque\Console\WorkCommand;
|
||||||
use Illuminate\Contracts\Foundation\Application;
|
use Illuminate\Contracts\Foundation\Application;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
@ -44,5 +43,6 @@ class ResqueServiceProvider extends ServiceProvider
|
||||||
$this->app->singleton('command.resque.work', function (Application $app) {
|
$this->app->singleton('command.resque.work', function (Application $app) {
|
||||||
return new WorkCommand($app->make('resque.manager'));
|
return new WorkCommand($app->make('resque.manager'));
|
||||||
});
|
});
|
||||||
|
$this->commands('command.resque.work');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue