| Current Path : /home/rtorresani/www/vendor/magento/module-catalog-inventory/Observer/ |
| Current File : //home/rtorresani/www/vendor/magento/module-catalog-inventory/Observer/ItemsForReindex.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogInventory\Observer;
class ItemsForReindex
{
/**
* @var array
*/
protected $itemsForReindex = [];
/**
* @param array $items
* @return void
*/
public function setItems(array $items)
{
$this->itemsForReindex = $items;
}
/**
* @return array
*/
public function getItems()
{
return $this->itemsForReindex;
}
/**
* @return void
*/
public function clear()
{
$this->itemsForReindex = [];
}
}