mirror of
https://github.com/flarum/core.git
synced 2025-08-03 23:17:43 +02:00
moved from boot to register
This commit is contained in:
@@ -17,7 +17,7 @@ use Illuminate\Contracts\Queue\Factory as QueueFactoryContract;
|
|||||||
|
|
||||||
class BusServiceProvider extends AbstractServiceProvider
|
class BusServiceProvider extends AbstractServiceProvider
|
||||||
{
|
{
|
||||||
public function boot()
|
public function register()
|
||||||
{
|
{
|
||||||
$this->app->bind(BusContract::class, function ($app) {
|
$this->app->bind(BusContract::class, function ($app) {
|
||||||
return new Dispatcher($app, function ($connection = null) use ($app) {
|
return new Dispatcher($app, function ($connection = null) use ($app) {
|
||||||
|
Reference in New Issue
Block a user