src/FcmServiceProvider.php
/**
     * Register the service provider.
     *
     * @return void
     */
Register the service provider.
@return void
Register the service provider . @return void
public function register()
    {
        $this->app->singleton('fcm', Fcm::class);
        Notification::resolved(function (ChannelManager $service) {
            $service->extend('fcm', function () {
                return new FcmChannel();
            });
        });
    }
public function register ( ) { $ this -> app -> singleton ( 'fcm' , Fcm :: class ) ; Notification :: resolved ( function ( ChannelManager $ service ) { $ service -> extend ( 'fcm' , function ( ) { return new FcmChannel ( ) ; } ) ; } ) ; }
Register the service provider.
Register the service provider .