src/Subscriptions/SubscriptionServiceProvider.php
public function register(): void
    {
        $this->app->singleton(BroadcastManager::class);
        $this->app->singleton(SubscriptionRegistry::class);
        $this->app->singleton(StoresSubscriptions::class, StorageManager::class);

        $this->app->bind(ContextSerializer::class, Serializer::class);
        $this->app->bind(AuthorizesSubscriptions::class, Authorizer::class);
        $this->app->bind(SubscriptionIterator::class, SyncIterator::class);
        $this->app->bind(SubscriptionExceptionHandler::class, ExceptionHandler::class);
        $this->app->bind(BroadcastsSubscriptions::class, SubscriptionBroadcaster::class);
        $this->app->bind(ProvidesSubscriptionResolver::class, SubscriptionResolverProvider::class);
    }
public function register(): void
    {
        $this->app->singleton(BroadcastManager::class);
        $this->app->singleton(SubscriptionRegistry::class);
        $this->app->singleton(StoresSubscriptions::class, StorageManager::class);

        $this->app->bind(ContextSerializer::class, Serializer::class);
        $this->app->bind(AuthorizesSubscriptions::class, Authorizer::class);
        $this->app->bind(SubscriptionIterator::class, SyncIterator::class);
        $this->app->bind(SubscriptionExceptionHandler::class, ExceptionHandler::class);
        $this->app->bind(BroadcastsSubscriptions::class, SubscriptionBroadcaster::class);
        $this->app->bind(ProvidesSubscriptionResolver::class, SubscriptionResolverProvider::class);
    }
public function register ( ) : void { $ this -> app -> singleton ( BroadcastManager :: class ) ; $ this -> app -> singleton ( SubscriptionRegistry :: class ) ; $ this -> app -> singleton ( StoresSubscriptions :: class , StorageManager :: class ) ; $ this -> app -> bind ( ContextSerializer :: class , Serializer :: class ) ; $ this -> app -> bind ( AuthorizesSubscriptions :: class , Authorizer :: class ) ; $ this -> app -> bind ( SubscriptionIterator :: class , SyncIterator :: class ) ; $ this -> app -> bind ( SubscriptionExceptionHandler :: class , ExceptionHandler :: class ) ; $ this -> app -> bind ( BroadcastsSubscriptions :: class , SubscriptionBroadcaster :: class ) ; $ this -> app -> bind ( ProvidesSubscriptionResolver :: class , SubscriptionResolverProvider :: class ) ; }
Register subscription services.

@return void
Register subscription services .