var/cache/dev/ContainerC9ULHTc/getEccube_Purchase_Flow_OrderService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerC9ULHTc;
  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 getEccube_Purchase_Flow_OrderService extends Eccube_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'eccube.purchase.flow.order' shared service.
  12.      *
  13.      * @return \Eccube\Service\PurchaseFlow\PurchaseFlow
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/PurchaseFlow.php';
  18.         include_once \dirname(__DIR__4).'/vendor/doctrine/collections/lib/Doctrine/Common/Collections/ReadableCollection.php';
  19.         include_once \dirname(__DIR__4).'/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php';
  20.         include_once \dirname(__DIR__4).'/vendor/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php';
  21.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/ValidatorTrait.php';
  22.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/ItemHolderValidator.php';
  23.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/PurchaseProcessor.php';
  24.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/StockDiffProcessor.php';
  25.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/PointDiffProcessor.php';
  26.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/ItemHolderPostValidator.php';
  27.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/PaymentTotalNegativeValidator.php';
  28.         $container->privates['eccube.purchase.flow.order'] = $instance = new \Eccube\Service\PurchaseFlow\PurchaseFlow();
  29.         $a = new \Eccube\Service\PurchaseFlow\Processor\StockDiffProcessor(($container->privates['Eccube\\Repository\\ProductClassRepository'] ?? $container->getProductClassRepositoryService()));
  30.         $b = new \Eccube\Service\PurchaseFlow\Processor\PointDiffProcessor(($container->services['doctrine.orm.default_entity_manager'] ?? $container->getDoctrine_Orm_DefaultEntityManagerService()), ($container->privates['Eccube\\Service\\PointHelper'] ?? $container->load('getPointHelperService')));
  31.         $instance->setFlowType('order');
  32.         $instance->setItemValidators(new \Doctrine\Common\Collections\ArrayCollection());
  33.         $instance->setItemHolderValidators(new \Doctrine\Common\Collections\ArrayCollection([=> $a=> $b]));
  34.         $instance->setItemHolderPreprocessors(new \Doctrine\Common\Collections\ArrayCollection([=> ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\TaxProcessor'] ?? $container->load('getTaxProcessorService'))]));
  35.         $instance->setDiscountProcessors(new \Doctrine\Common\Collections\ArrayCollection([=> ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\PointProcessor'] ?? $container->load('getPointProcessorService'))]));
  36.         $instance->setItemHolderPostValidators(new \Doctrine\Common\Collections\ArrayCollection([=> ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\AddPointProcessor'] ?? $container->load('getAddPointProcessorService')), => ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\PaymentTotalLimitValidator'] ?? $container->load('getPaymentTotalLimitValidatorService')), => ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\PaymentTotalNegativeValidator'] ?? ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\PaymentTotalNegativeValidator'] = new \Eccube\Service\PurchaseFlow\Processor\PaymentTotalNegativeValidator()))]));
  37.         $instance->setPurchaseProcessors(new \Doctrine\Common\Collections\ArrayCollection([=> $a=> $b]));
  38.         return $instance;
  39.     }
  40. }