| @@ 56-70 (lines=15) @@ | ||
| 53 | * @param OrderProcessorInterface $orderProcessor |
|
| 54 | * @param ObjectManager $manager |
|
| 55 | */ |
|
| 56 | public function __construct( |
|
| 57 | OrderRepositoryInterface $cartRepository, |
|
| 58 | ProductRepositoryInterface $productRepository, |
|
| 59 | CartItemFactoryInterface $cartItemFactory, |
|
| 60 | OrderItemQuantityModifierInterface $orderItemModifier, |
|
| 61 | OrderProcessorInterface $orderProcessor, |
|
| 62 | ObjectManager $manager |
|
| 63 | ) { |
|
| 64 | $this->cartRepository = $cartRepository; |
|
| 65 | $this->productRepository = $productRepository; |
|
| 66 | $this->cartItemFactory = $cartItemFactory; |
|
| 67 | $this->orderItemModifier = $orderItemModifier; |
|
| 68 | $this->orderProcessor = $orderProcessor; |
|
| 69 | $this->manager = $manager; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @param PutSimpleItemToCart $putSimpleItemToCart |
|
| @@ 56-70 (lines=15) @@ | ||
| 53 | * @param OrderProcessorInterface $orderProcessor |
|
| 54 | * @param ObjectManager $manager |
|
| 55 | */ |
|
| 56 | public function __construct( |
|
| 57 | OrderRepositoryInterface $cartRepository, |
|
| 58 | ProductVariantRepositoryInterface $productVariantRepository, |
|
| 59 | CartItemFactoryInterface $cartItemFactory, |
|
| 60 | OrderItemQuantityModifierInterface $orderItemModifier, |
|
| 61 | OrderProcessorInterface $orderProcessor, |
|
| 62 | ObjectManager $manager |
|
| 63 | ) { |
|
| 64 | $this->cartRepository = $cartRepository; |
|
| 65 | $this->productVariantRepository = $productVariantRepository; |
|
| 66 | $this->cartItemFactory = $cartItemFactory; |
|
| 67 | $this->orderItemModifier = $orderItemModifier; |
|
| 68 | $this->orderProcessor = $orderProcessor; |
|
| 69 | $this->manager = $manager; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @param PutVariantBasedConfigurableItemToCart $putConfigurableItemToCart |
|
| @@ 58-72 (lines=15) @@ | ||
| 55 | * @param OrderProcessorInterface $orderProcessor |
|
| 56 | * @param ObjectManager $manager |
|
| 57 | */ |
|
| 58 | public function __construct( |
|
| 59 | OrderRepositoryInterface $cartRepository, |
|
| 60 | ProductRepositoryInterface $productRepository, |
|
| 61 | CartItemFactoryInterface $cartItemFactory, |
|
| 62 | OrderItemQuantityModifierInterface $orderItemModifier, |
|
| 63 | OrderProcessorInterface $orderProcessor, |
|
| 64 | ObjectManager $manager |
|
| 65 | ) { |
|
| 66 | $this->cartRepository = $cartRepository; |
|
| 67 | $this->productRepository = $productRepository; |
|
| 68 | $this->cartItemFactory = $cartItemFactory; |
|
| 69 | $this->orderItemModifier = $orderItemModifier; |
|
| 70 | $this->orderProcessor = $orderProcessor; |
|
| 71 | $this->manager = $manager; |
|
| 72 | } |
|
| 73 | ||
| 74 | /** |
|
| 75 | * @param PutOptionBasedConfigurableItemToCart $putConfigurableItemToCart |
|