Skip to content

Commit a9c448e

Browse files
committed
Register command while booting
1 parent 24bf82c commit a9c448e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ public function register()
3737
config('laravel-echo-api-gateway')
3838
);
3939
});
40-
41-
$this->commands([
42-
VaporHandle::class,
43-
]);
4440
}
4541

4642
public function boot(BroadcastManager $broadcastManager): void
4743
{
4844
$broadcastManager->extend('laravel-echo-api-gateway', function (): Broadcaster {
4945
return $this->app->make(Driver::class);
5046
});
47+
48+
$this->commands([
49+
VaporHandle::class,
50+
]);
5151
}
5252
}

0 commit comments

Comments
 (0)