| @@ -159,15 +159,8 @@ | ||
| 159 | 159 | use SeQura\Core\BusinessLogic\DataAccess\AdvancedSettings\Entities\AdvancedSettings; |
| 160 | 160 | use SeQura\Core\BusinessLogic\Domain\AdvancedSettings\Services\AdvancedSettingsService; |
| 161 | 161 | use SeQura\Core\BusinessLogic\Domain\Integration\Log\LogServiceInterface; |
| 162 | 162 | use SeQura\WC\Core\Implementation\BusinessLogic\Domain\Integration\Log\Log_Service; |
| 163 | -use SeQura\Core\BusinessLogic\DataAccess\Affiliate\Entities\AffiliateSettings; | |
| 164 | -use SeQura\Core\BusinessLogic\DataAccess\BannerSettings\Entities\BannerSettings; | |
| 165 | -use SeQura\Core\BusinessLogic\DataAccess\ExpressCheckout\Entities\ExpressCheckoutSettings; | |
| 166 | -use SeQura\Core\BusinessLogic\Domain\Integration\Banner\BannerServiceInterface; | |
| 167 | -use SeQura\WC\Core\Implementation\BusinessLogic\Domain\Integration\Banner\Banner_Service; | |
| 168 | -use SeQura\Core\BusinessLogic\Domain\Integration\ExpressCheckout\ExpressCheckoutIntegrationInterface; | |
| 169 | -use SeQura\WC\Core\Implementation\BusinessLogic\Domain\Integration\ExpressCheckout\Express_Checkout_Integration_Service; | |
| 170 | 163 | |
| 171 | 164 | /** |
| 172 | 165 | * Implementation for the core bootstrap class. |
| 173 | 166 | */ |
| @@ -937,26 +930,8 @@ | ||
| 937 | 930 | } |
| 938 | 931 | return self::$cache[ LogServiceInterface::class ]; |
| 939 | 932 | } |
| 940 | 933 | ); |
| 941 | - Reg::registerService( | |
| 942 | - BannerServiceInterface::class, | |
| 943 | - static function () { | |
| 944 | - if ( ! isset( self::$cache[ BannerServiceInterface::class ] ) ) { | |
| 945 | - self::$cache[ BannerServiceInterface::class ] = new Banner_Service(); | |
| 946 | - } | |
| 947 | - return self::$cache[ BannerServiceInterface::class ]; | |
| 948 | - } | |
| 949 | - ); | |
| 950 | - Reg::registerService( | |
| 951 | - ExpressCheckoutIntegrationInterface::class, | |
| 952 | - static function () { | |
| 953 | - if ( ! isset( self::$cache[ ExpressCheckoutIntegrationInterface::class ] ) ) { | |
| 954 | - self::$cache[ ExpressCheckoutIntegrationInterface::class ] = new Express_Checkout_Integration_Service(); | |
| 955 | - } | |
| 956 | - return self::$cache[ ExpressCheckoutIntegrationInterface::class ]; | |
| 957 | - } | |
| 958 | - ); | |
| 959 | 934 | } |
| 960 | 935 | |
| 961 | 936 | /** |
| 962 | 937 | * Initializes repositories. |
| @@ -1001,11 +976,8 @@ | ||
| 1001 | 976 | RepositoryRegistry::registerRepository( PaymentMethod::class, Entity_Repository::class ); |
| 1002 | 977 | RepositoryRegistry::registerRepository( Credentials::class, Entity_Repository::class ); |
| 1003 | 978 | RepositoryRegistry::registerRepository( Deployment::class, Entity_Repository::class ); |
| 1004 | 979 | RepositoryRegistry::registerRepository( AdvancedSettings::class, Entity_Repository::class ); |
| 1005 | - RepositoryRegistry::registerRepository( AffiliateSettings::class, Entity_Repository::class ); | |
| 1006 | - RepositoryRegistry::registerRepository( BannerSettings::class, Entity_Repository::class ); | |
| 1007 | - RepositoryRegistry::registerRepository( ExpressCheckoutSettings::class, Entity_Repository::class ); | |
| 1008 | 980 | } |
| 1009 | 981 | |
| 1010 | 982 | /** |
| 1011 | 983 | * Initializes controllers. |