nNote::class ); $this->share_with_tags( CompleteSetupNote::class ); $this->share_with_tags( ReconnectWordPressNote::class, GoogleConnection::class ); $this->share_with_tags( ReviewAfterClicksNote::class, MerchantMetrics::class, WP::class ); $this->share_with_tags( ReviewAfterConversionsNote::class, MerchantMetrics::class, WP::class ); $this->share_with_tags( SetupCampaignNote::class, MerchantCenterService::class ); $this->share_with_tags( SetupCampaign2Note::class, MerchantCenterService::class ); $this->share_with_tags( SetupCouponSharingNote::class, MerchantStatuses::class ); $this->share_with_tags( NoteInitializer::class, ActionScheduler::class ); // Product attributes $this->conditionally_share_with_tags( AttributeManager::class, AttributeMappingRulesQuery::class, WC::class ); $this->conditionally_share_with_tags( AttributesTab::class, Admin::class, AttributeManager::class, MerchantCenterService::class ); $this->conditionally_share_with_tags( VariationsAttributes::class, Admin::class, AttributeManager::class, MerchantCenterService::class ); // Product Block Editor $this->share_with_tags( ChannelVisibilityBlock::class, ProductHelper::class, MerchantCenterService::class ); $this->conditionally_share_with_tags( ProductBlocksService::class, AssetsHandlerInterface::class, ChannelVisibilityBlock::class, AttributeManager::class, MerchantCenterService::class ); $this->share_with_tags( MerchantAccountState::class ); $this->share_with_tags( ServiceBasedMerchantState::class ); $this->share_with_tags( MerchantStatuses::class ); $this->share_with_tags( PriceBenchmarks::class ); $this->share_with_tags( PhoneVerification::class, Merchant::class, WP::class, ISOUtility::class ); $this->share_with_tags( PolicyComplianceCheck::class, WC::class, GoogleHelper::class, TargetAudience::class ); $this->share_with_tags( ContactInformation::class, Merchant::class, GoogleSettings::class ); $this->share_with_tags( ProductMetaHandler::class ); $this->share( ProductHelper::class, ProductMetaHandler::class, WC::class, TargetAudience::class ); $this->share_with_tags( ProductFilter::class, ProductHelper::class ); $this->share_with_tags( ProductRepository::class, ProductMetaHandler::class, ProductFilter::class ); $this->share_with_tags( ProductFactory::class, AttributeManager::class, WC::class ); $this->share_with_tags( BatchProductHelper::class, ProductMetaHandler::class, ProductHelper::class, ValidatorInterface::class, ProductFactory::class, TargetAudience::class, AttributeMappingRulesQuery::class ); $this->share_with_tags( ProductSyncer::class, GoogleProductService::class, BatchProductHelper::class, ProductHelper::class, MerchantCenterService::class, WC::class, ProductRepository::class ); // Coupon management classes $this->share_with_tags( CouponMetaHandler::class ); $this->share_with_tags( CouponHelper::class, CouponMetaHandler::class, WC::class, MerchantCenterService::class ); $this->share_with_tags( CouponSyncer::class, GooglePromotionService::class, CouponHelper::class, ValidatorInterface::class, MerchantCenterService::class, TargetAudience::class, WC::class ); // Set up inflector for tracks classes. $this->getContainer() ->inflector( TracksAwareInterface::class ) ->invokeMethod( 'set_tracks', [ TracksInterface::class ] ); // Share other classes. $this->share_with_tags( ActivatedEvents::class, $_SERVER ); $this->share_with_tags( GenericEvents::class ); $this->share_with_tags( SiteClaimEvents::class ); $this->share_with_tags( SiteVerificationEvents::class ); $this->conditionally_share_with_tags( InstallTimestamp::class ); $this->conditionally_share_with_tags( ClearProductStatsCache::class, MerchantStatuses::class ); $this->share_with_tags( TableManager::class, 'db_table' ); $this->share_with_tags( DBInstaller::class, TableManager::class, Migrator::class ); $this->share_with_tags( DeprecatedFilters::class ); $this->share_with_tags( LocationRatesProcessor::class ); $this->share_with_tags( ZoneLocationsParser::class, GoogleHelper::class ); $this->share_with_tags( ZoneMethodsParser::class, WC::class ); $this->share_with_tags( ShippingZone::class, WC::class, ZoneLocationsParser::class, ZoneMethodsParser::class, LocationRatesProcessor::class ); $this->share_with_tags( ShippingSuggestionService::class, ShippingZone::class, WC::class ); $this->share_with_tags( RequestReviewStatuses::class ); // Share Attribute Mapping related classes $this->share_with_tags( AttributeMappingHelper::class ); if ( class_exists( MarketingChannels::class ) ) { $this->share_with_tags( GLAChannel::class, MerchantCenterService::class, AdsCampaign::class, Ads::class, MerchantStatuses::class, ProductSyncStats::class ); $this->share_with_tags( MarketingChannelRegistrar::class, GLAChannel::class, WC::class ); } $this->share_with_tags( OnboardingCompleted::class ); // ClI Classes $this->conditionally_share_with_tags( WPCLIMigrationGTIN::class, ProductRepository::class, AttributeManager::class ); } }