<?php
namespace ContainerKzwxB7E;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getBdm_Checkout_PbPaymentGatewayService extends App_KernelDevDebugContainer
{
/**
* Gets the public 'bdm.checkout.pb_payment_gateway' shared service.
*
* @return \Bdm\CheckoutBundle\Service\PaymentGateway\PbPaymentGateway
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/PaymentGatewayInterface.php';
include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/BasePaymentGateway.php';
include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/AlternativeAmountTrait.php';
include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/PbPaymentGateway.php';
include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/Pb/PbBaseService.php';
include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/Pb/RefundService.php';
$a = ($container->services['bdm.checkout.pb_payment_service'] ?? $container->load('getBdm_Checkout_PbPaymentServiceService'));
if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
return $container->services['bdm.checkout.pb_payment_gateway'];
}
$b = ($container->privates['bdm.checkout.transaction_service'] ?? $container->load('getBdm_Checkout_TransactionServiceService'));
if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
return $container->services['bdm.checkout.pb_payment_gateway'];
}
$c = ($container->services['bdm.workflow_service'] ?? $container->load('getBdm_WorkflowServiceService'));
if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
return $container->services['bdm.checkout.pb_payment_gateway'];
}
$d = ($container->services['.container.private.validator'] ?? $container->get_Container_Private_ValidatorService());
if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
return $container->services['bdm.checkout.pb_payment_gateway'];
}
$e = ($container->privates['bdm.checkout.authorization_service'] ?? $container->load('getBdm_Checkout_AuthorizationServiceService'));
$container->services['bdm.checkout.pb_payment_gateway'] = $instance = new \Bdm\CheckoutBundle\Service\PaymentGateway\PbPaymentGateway($a, ($container->privates['bdm.checkout.pb_payment_repository'] ?? $container->load('getBdm_Checkout_PbPaymentRepositoryService')), new \Bdm\CheckoutBundle\Service\PaymentGateway\Pb\RefundService(($container->privates['Nexy\\PayboxDirect\\Paybox'] ?? $container->load('getPayboxService')), ($container->privates['monolog.logger.paybox'] ?? $container->load('getMonolog_Logger_PayboxService')), ($container->privates['bdm.checkout.pb_error_logger'] ?? $container->load('getBdm_Checkout_PbErrorLoggerService')), $container->parameters['paybox_api.rejection_codes'], ($container->privates['bdm.alternative_amount_repo'] ?? $container->load('getBdm_AlternativeAmountRepoService')), ($container->privates['bdm.checkout.pb_credentials_service'] ?? $container->load('getBdm_Checkout_PbCredentialsServiceService')), $b), ($container->privates['bdm.checkout.pb_3ds_service'] ?? $container->load('getBdm_Checkout_Pb3dsServiceService')), $c, $d, $e, 1);
$instance->setAuthorizationService($e);
$instance->setStateSwitcher(($container->privates['bdm.checkout.state_switcher_service'] ?? $container->load('getBdm_Checkout_StateSwitcherServiceService')));
$instance->setBalanceService(($container->services['bdm.balance_service'] ?? $container->load('getBdm_BalanceServiceService')));
return $instance;
}
}