extend('fcm', function ($app) { return new FcmChannel(new HttpClient, config('fcm.key')); }); $service->extend('socket', function ($app) { return new SocketChannel(new HttpClient, config('socket.url')); }); }); } /** * Bootstrap any application services. * * @return void */ public function boot() { // } }