var/cache/dev/ContainerKx5kxuS/getPayPalPaymentMethodListenerService.php line 35

Open in your IDE?
  1. <?php
  2. namespace ContainerKx5kxuS;
  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 getPayPalPaymentMethodListenerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'Sylius\PayPalPlugin\Listener\PayPalPaymentMethodListener' shared service.
  12.      *
  13.      * @return \Sylius\PayPalPlugin\Listener\PayPalPaymentMethodListener
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/sylius/paypal-plugin/src/Listener/PayPalPaymentMethodListener.php';
  18.         include_once \dirname(__DIR__4).'/vendor/sylius/paypal-plugin/src/Onboarding/Initiator/OnboardingInitiatorInterface.php';
  19.         include_once \dirname(__DIR__4).'/vendor/sylius/paypal-plugin/src/Onboarding/Initiator/OnboardingInitiator.php';
  20.         $a = ($container->services['router'] ?? $container->getRouterService());
  21.         if (isset($container->privates['Sylius\\PayPalPlugin\\Listener\\PayPalPaymentMethodListener'])) {
  22.             return $container->privates['Sylius\\PayPalPlugin\\Listener\\PayPalPaymentMethodListener'];
  23.         }
  24.         $b = ($container->privates['security.helper'] ?? $container->getSecurity_HelperService());
  25.         if (isset($container->privates['Sylius\\PayPalPlugin\\Listener\\PayPalPaymentMethodListener'])) {
  26.             return $container->privates['Sylius\\PayPalPlugin\\Listener\\PayPalPaymentMethodListener'];
  27.         }
  28.         return $container->privates['Sylius\\PayPalPlugin\\Listener\\PayPalPaymentMethodListener'] = new \Sylius\PayPalPlugin\Listener\PayPalPaymentMethodListener(new \Sylius\PayPalPlugin\Onboarding\Initiator\OnboardingInitiator($a$b'https://paypal.sylius.com'), $a, ($container->privates['session.flash_bag'] ?? $container->load('getSession_FlashBagService')), ($container->privates['Sylius\\PayPalPlugin\\Provider\\PayPalPaymentMethodProviderInterface'] ?? $container->load('getPayPalPaymentMethodProviderInterfaceService')));
  29.     }
  30. }