var/cache/dev/ContainerKzwxB7E/getBdm_Checkout_PbPaymentGatewayService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerKzwxB7E;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6. * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7. */
  8. class getBdm_Checkout_PbPaymentGatewayService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'bdm.checkout.pb_payment_gateway' shared service.
  12. *
  13. * @return \Bdm\CheckoutBundle\Service\PaymentGateway\PbPaymentGateway
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/PaymentGatewayInterface.php';
  18. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/BasePaymentGateway.php';
  19. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/AlternativeAmountTrait.php';
  20. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/PbPaymentGateway.php';
  21. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/Pb/PbBaseService.php';
  22. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/Pb/RefundService.php';
  23. $a = ($container->services['bdm.checkout.pb_payment_service'] ?? $container->load('getBdm_Checkout_PbPaymentServiceService'));
  24. if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
  25. return $container->services['bdm.checkout.pb_payment_gateway'];
  26. }
  27. $b = ($container->privates['bdm.checkout.transaction_service'] ?? $container->load('getBdm_Checkout_TransactionServiceService'));
  28. if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
  29. return $container->services['bdm.checkout.pb_payment_gateway'];
  30. }
  31. $c = ($container->services['bdm.workflow_service'] ?? $container->load('getBdm_WorkflowServiceService'));
  32. if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
  33. return $container->services['bdm.checkout.pb_payment_gateway'];
  34. }
  35. $d = ($container->services['.container.private.validator'] ?? $container->get_Container_Private_ValidatorService());
  36. if (isset($container->services['bdm.checkout.pb_payment_gateway'])) {
  37. return $container->services['bdm.checkout.pb_payment_gateway'];
  38. }
  39. $e = ($container->privates['bdm.checkout.authorization_service'] ?? $container->load('getBdm_Checkout_AuthorizationServiceService'));
  40. $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);
  41. $instance->setAuthorizationService($e);
  42. $instance->setStateSwitcher(($container->privates['bdm.checkout.state_switcher_service'] ?? $container->load('getBdm_Checkout_StateSwitcherServiceService')));
  43. $instance->setBalanceService(($container->services['bdm.balance_service'] ?? $container->load('getBdm_BalanceServiceService')));
  44. return $instance;
  45. }
  46. }