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-catalog-inventory
Observer
ItemsForReindex.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\CatalogInventory\Observer
;
8
9
class
ItemsForReindex
10
{
14
protected
$itemsForReindex
= [];
15
20
public
function
setItems
(array
$items
)
21
{
22
$this->itemsForReindex =
$items
;
23
}
24
28
public
function
getItems
()
29
{
30
return
$this->itemsForReindex
;
31
}
32
36
public
function
clear
()
37
{
38
$this->itemsForReindex = [];
39
}
40
}
Magento\CatalogInventory\Observer\ItemsForReindex\setItems
setItems(array $items)
Definition:
ItemsForReindex.php:20
Magento\CatalogInventory\Observer\ItemsForReindex\getItems
getItems()
Definition:
ItemsForReindex.php:28
Magento\CatalogInventory\Observer\ItemsForReindex\$itemsForReindex
$itemsForReindex
Definition:
ItemsForReindex.php:14
Magento\CatalogInventory\Observer\ItemsForReindex
Definition:
ItemsForReindex.php:9
Magento\CatalogInventory\Observer
Definition:
AddStockItemsObserverTest.php:7
Magento\CatalogInventory\Observer\ItemsForReindex\clear
clear()
Definition:
ItemsForReindex.php:36
$items
$items
Definition:
order_rollback.php:21