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-catalog
Setup
Patch
Schema
ReindexDefaultSource.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\InventoryCatalog\Setup\Patch\Schema
;
9
10
use
Magento\Framework\Setup\Patch\SchemaPatchInterface
;
11
use
Magento\InventoryCatalog\Setup\Operation\ReindexDefaultStock
as Operation;
12
16
class
ReindexDefaultSource
implements
SchemaPatchInterface
17
{
21
private
$operation;
22
26
public
function
__construct
(Operation $operation)
27
{
28
$this->operation = $operation;
29
}
30
34
public
function
apply
()
35
{
36
$this->operation->execute();
37
38
return
$this;
39
}
40
44
public
static
function
getDependencies
()
45
{
46
return
[
47
UpdateInventorySourceItem::class
48
];
49
}
50
54
public
function
getAliases
()
55
{
56
return
[];
57
}
58
}
Magento\InventoryCatalog\Setup\Patch\Schema\ReindexDefaultSource\getDependencies
static getDependencies()
Definition:
ReindexDefaultSource.php:44
Magento\InventoryCatalog\Setup\Patch\Schema
Definition:
CreateLegacyStockStatusView.php:8
Magento\InventoryCatalog\Setup\Patch\Schema\ReindexDefaultSource\__construct
__construct(Operation $operation)
Definition:
ReindexDefaultSource.php:26
Magento\InventoryCatalog\Setup\Patch\Schema\ReindexDefaultSource
Definition:
ReindexDefaultSource.php:16
Magento\InventoryCatalog\Setup\Patch\Schema\ReindexDefaultSource\getAliases
getAliases()
Definition:
ReindexDefaultSource.php:54
Magento\InventoryCatalog\Setup\Patch\Schema\ReindexDefaultSource\apply
apply()
Definition:
ReindexDefaultSource.php:34
Magento\Framework\Setup\Patch\SchemaPatchInterface
Definition:
SchemaPatchInterface.php:12
Magento\InventoryCatalog\Setup\Operation\ReindexDefaultStock
Definition:
ReindexDefaultStock.php:16