var/cache/dev/ContainerKzwxB7E/getBdm_Checkout_PbPaymentServiceService.php line 30

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_PbPaymentServiceService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'bdm.checkout.pb_payment_service' shared service.
  12. *
  13. * @return \Bdm\CheckoutBundle\Service\PaymentGateway\Pb\PaymentService
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/Pb/PbBaseService.php';
  18. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/AlternativeAmountTrait.php';
  19. include_once \dirname(__DIR__, 4).'/bundles/CheckoutBundle/Service/PaymentGateway/Pb/PaymentService.php';
  20. $a = ($container->privates['bdm.checkout.transaction_service'] ?? $container->load('getBdm_Checkout_TransactionServiceService'));
  21. if (isset($container->services['bdm.checkout.pb_payment_service'])) {
  22. return $container->services['bdm.checkout.pb_payment_service'];
  23. }
  24. $container->services['bdm.checkout.pb_payment_service'] = $instance = new \Bdm\CheckoutBundle\Service\PaymentGateway\Pb\PaymentService(($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')), $a);
  25. $instance->setPaymentRepo(($container->privates['bdm.checkout.pb_payment_repository'] ?? $container->load('getBdm_Checkout_PbPaymentRepositoryService')));
  26. return $instance;
  27. }
  28. }