var/cache/dev/ContainerLT0Zmck/getEccube_Purchase_Flow_CartService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerLT0Zmck;
  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_CartService extends Eccube_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'eccube.purchase.flow.cart' 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/ItemValidator.php';
  23.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/StockValidator.php';
  24.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/SaleLimitValidator.php';
  25.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/ProductStatusValidator.php';
  26.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/PriceChangeValidator.php';
  27.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/ClassCategoryValidator.php';
  28.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/ItemHolderPostValidator.php';
  29.         include_once \dirname(__DIR__4).'/src/Eccube/Service/PurchaseFlow/Processor/PaymentTotalNegativeValidator.php';
  30.         $container->services['eccube.purchase.flow.cart'] = $instance = new \Eccube\Service\PurchaseFlow\PurchaseFlow();
  31.         $instance->setFlowType('cart');
  32.         $instance->setItemValidators(new \Doctrine\Common\Collections\ArrayCollection([=> ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\DeliverySettingValidator'] ?? $container->load('getDeliverySettingValidatorService')), => ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\ProductStatusValidator'] ?? ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\ProductStatusValidator'] = new \Eccube\Service\PurchaseFlow\Processor\ProductStatusValidator())), => ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\PriceChangeValidator'] ?? ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\PriceChangeValidator'] = new \Eccube\Service\PurchaseFlow\Processor\PriceChangeValidator())), => new \Eccube\Service\PurchaseFlow\Processor\StockValidator(), => new \Eccube\Service\PurchaseFlow\Processor\SaleLimitValidator(), => ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\ClassCategoryValidator'] ?? ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\ClassCategoryValidator'] = new \Eccube\Service\PurchaseFlow\Processor\ClassCategoryValidator()))]));
  33.         $instance->setItemHolderValidators(new \Doctrine\Common\Collections\ArrayCollection([=> ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\EmptyItemsValidator'] ?? $container->load('getEmptyItemsValidatorService'))]));
  34.         $instance->setItemPreprocessors(new \Doctrine\Common\Collections\ArrayCollection());
  35.         $instance->setItemHolderPreprocessors(new \Doctrine\Common\Collections\ArrayCollection());
  36.         $instance->setItemHolderPostValidators(new \Doctrine\Common\Collections\ArrayCollection([=> ($container->privates['Eccube\\Service\\PurchaseFlow\\Processor\\PaymentValidator'] ?? $container->load('getPaymentValidatorService')), => ($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->addItemValidator(($container->privates['Plugin\\SheebDlc42\\Service\\PurchaseFlow\\Processor\\SaleLimitOneValidator'] ?? $container->load('getSaleLimitOneValidatorService')));
  38.         $instance->addItemValidator(($container->privates['Plugin\\SheebDlc42\\Service\\PurchaseFlow\\Processor\\SameItemValidator'] ?? $container->load('getSameItemValidatorService')));
  39.         $instance->addItemHolderValidator(($container->privates['Plugin\\SheebDlc42\\Service\\PurchaseFlow\\Processor\\SaleTypeValidator'] ?? $container->load('getSaleTypeValidatorService')));
  40.         return $instance;
  41.     }
  42. }