moved from boot to register

This commit is contained in:
Daniel Klabbers 2017-11-02 10:52:52 +01:00
parent ccfa3482f1
commit 1d0df71c19

View File

@ -17,7 +17,7 @@ use Illuminate\Contracts\Queue\Factory as QueueFactoryContract;
class BusServiceProvider extends AbstractServiceProvider
{
public function boot()
public function register()
{
$this->app->bind(BusContract::class, function ($app) {
return new Dispatcher($app, function ($connection = null) use ($app) {