Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions modules/ppcp-store-sync/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
use WooCommerce\PayPalCommerce\StoreSync\Merchant\MerchantMetadataProvider;
use WooCommerce\PayPalCommerce\StoreSync\Registration\RegistrationService;
use WooCommerce\PayPalCommerce\StoreSync\Registration\RegistrationEligibility;
use WooCommerce\PayPalCommerce\StoreSync\Inspector\InspectionFormHandler;
use WooCommerce\PayPalCommerce\StoreSync\Inspector\InspectionStatusPage;
use WooCommerce\PayPalCommerce\StoreSync\Helper\AgenticCheckoutProcessor;
use WooCommerce\PayPalCommerce\StoreSync\Helper\ShippingOptionsBuilder;
use WooCommerce\PayPalCommerce\StoreSync\Helper\PayPalOrderManager;
Expand All @@ -53,9 +51,6 @@
use WooCommerce\PayPalCommerce\StoreSync\CartValidation\CouponValidator\CouponResolutionBuilder;
use WooCommerce\PayPalCommerce\StoreSync\CartValidation\CouponValidator\AppliedCouponsBuilder;
use WooCommerce\PayPalCommerce\StoreSync\CartValidation\CartValidationProcessor;
use WooCommerce\PayPalCommerce\StoreSync\Inspector\InspectionSessionData;
use WooCommerce\PayPalCommerce\StoreSync\Inspector\Page\RegistrationStatusSection;
use WooCommerce\PayPalCommerce\StoreSync\Inspector\Page\CartSessionSection;
use WooCommerce\PayPalCommerce\StoreSync\Helper\AgenticSessionManager;

/**
Expand Down Expand Up @@ -315,37 +310,6 @@
);
},

// Inspector.
'agentic.inspector.form_handler' => static function ( ContainerInterface $c ): InspectionFormHandler {
return new InspectionFormHandler(
$c->get( 'agentic.registration.handler' ),
$c->get( 'agentic.logger' )
);
},
'agentic.inspector.session_info' => static function ( ContainerInterface $c ): InspectionSessionData {
return new InspectionSessionData();
},
'agentic.inspector.page.status' => static function ( ContainerInterface $c ): RegistrationStatusSection {
return new RegistrationStatusSection(
$c->get( 'agentic.registration.handler' ),
$c->get( 'agentic.registration.eligibility' ),
$c->get( 'agentic.auth.provider' ),
$c->get( 'settings.data.general' )
);
},
'agentic.inspector.page.session' => static function ( ContainerInterface $c ): CartSessionSection {
return new CartSessionSection(
$c->get( 'agentic.inspector.session_info' ),
$c->get( 'agentic.validation.processor' )
);
},
'agentic.inspector.page' => static function ( ContainerInterface $c ): InspectionStatusPage {
return new InspectionStatusPage(
$c->get( 'agentic.inspector.form_handler' ),
$c->get( 'agentic.inspector.page.status' ),
$c->get( 'agentic.inspector.page.session' )
);
},
'agentic.asset_getter' => static function ( ContainerInterface $container ): AssetGetter {
$factory = $container->get( 'assets.asset_getter_factory' );
assert( $factory instanceof AssetGetterFactory );
Expand Down
178 changes: 0 additions & 178 deletions modules/ppcp-store-sync/src/Inspector/InspectionFormHandler.php

This file was deleted.

Loading
Loading