mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 08:39:25 +08:00
moved from boot to register
This commit is contained in:
parent
ccfa3482f1
commit
1d0df71c19
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user