var/cache/dev/ContainerDXpFgPq/getShopping_PaymentMethodManagerService.php line 39

Open in your IDE?
  1. <?php
  2. namespace ContainerDXpFgPq;
  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 getShopping_PaymentMethodManagerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'shopping.payment_method_manager' shared service.
  12.      *
  13.      * @return \Boab\EcommerceBundle\PaymentMethod\PaymentMethodManager
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/PaymentMethod/PaymentMethodManager.php';
  18.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/PaymentMethod/PaymentMethodInterface.php';
  19.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/PaymentMethod/Paypal.php';
  20.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/PaymentMethod/Bitpay.php';
  21.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/PaymentMethod/MobileMoney.php';
  22.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/PaymentMethod/OpanetPaymentMethod.php';
  23.         include_once \dirname(__DIR__4).'/lib/boab/opanet-bundle/src/Opanet.php';
  24.         include_once \dirname(__DIR__4).'/lib/boab/opanet-bundle/src/ContextManager.php';
  25.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/Manager/InvoiceManager.php';
  26.         include_once \dirname(__DIR__4).'/lib/boab/ecommerce-bundle/src/PaymentMethod/Stripe.php';
  27.         $container->privates['shopping.payment_method_manager'] = $instance = new \Boab\EcommerceBundle\PaymentMethod\PaymentMethodManager();
  28.         $a = ($container->services['router'] ?? $container->getRouterService());
  29.         $b = ($container->privates['shopping.order_repository'] ?? $container->load('getShopping_OrderRepositoryService'));
  30.         $c = new \Opanet\OpanetBundle\ContextManager($container->parameters['opanet']);
  31.         $instance->addMethod(new \Boab\EcommerceBundle\PaymentMethod\Paypal($a$b$container->getEnv('PAYPAL_CLIENT_ID'), $container->getEnv('PAYPAL_CLIENT_SECRET')));
  32.         $instance->addMethod(new \Boab\EcommerceBundle\PaymentMethod\Bitpay($a));
  33.         $instance->addMethod(new \Boab\EcommerceBundle\PaymentMethod\MobileMoney($a$b$container->getEnv('HUBTEL_CLIENT_ID'), $container->getEnv('HUBTEL_CLIENT_SECRET')));
  34.         $instance->addMethod(new \Boab\EcommerceBundle\PaymentMethod\OpanetPaymentMethod($a, new \Opanet\OpanetBundle\Opanet($c, ($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()), NULL$container->targetDir.''), $c, new \Boab\EcommerceBundle\Manager\InvoiceManager()));
  35.         $instance->addMethod(new \Boab\EcommerceBundle\PaymentMethod\Stripe($a$b$container->getEnv('STRIPE_KEY'), $container->getEnv('STRIPE_SECRET')));
  36.         return $instance;
  37.     }
  38. }