Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-inventory
Model
SourceItem
Command
SourceItemsSaveWithoutLegacySynchronization.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\Inventory\Model\SourceItem\Command
;
9
10
use
Magento\Inventory\Model\SourceItem\Command\Handler\SourceItemsSaveHandler
;
11
use
Magento\InventoryApi\Api\SourceItemsSaveInterface
;
12
16
class
SourceItemsSaveWithoutLegacySynchronization
implements
SourceItemsSaveInterface
17
{
21
private
$sourceItemsSaveHandler;
22
26
public
function
__construct
(
SourceItemsSaveHandler
$sourceItemsSaveHandler)
27
{
28
$this->sourceItemsSaveHandler = $sourceItemsSaveHandler;
29
}
30
34
public
function
execute
(array
$sourceItems
): void
35
{
36
$this->sourceItemsSaveHandler->execute(
$sourceItems
);
37
}
38
}
Magento\Inventory\Model\SourceItem\Command
Definition:
GetList.php:8
Magento\Inventory\Model\SourceItem\Command\SourceItemsSaveWithoutLegacySynchronization\execute
execute(array $sourceItems)
Definition:
SourceItemsSaveWithoutLegacySynchronization.php:34
Magento\InventoryApi\Api\SourceItemsSaveInterface
Definition:
SourceItemsSaveInterface.php:18
Magento\Inventory\Model\SourceItem\Command\Handler\SourceItemsSaveHandler
Definition:
SourceItemsSaveHandler.php:22
$sourceItems
$sourceItems
Definition:
source_items.php:76
Magento\Inventory\Model\SourceItem\Command\SourceItemsSaveWithoutLegacySynchronization\__construct
__construct(SourceItemsSaveHandler $sourceItemsSaveHandler)
Definition:
SourceItemsSaveWithoutLegacySynchronization.php:26
Magento\Inventory\Model\SourceItem\Command\SourceItemsSaveWithoutLegacySynchronization
Definition:
SourceItemsSaveWithoutLegacySynchronization.php:16