Your IP : 216.73.217.13


Current Path : /home/rtorresani/www/vendor/magento/module-catalog-inventory/Observer/
Upload File :
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 = [];
    }
}