src/Observers/ProductInventoryObserver.php
protected function prepareStockItemAttributes()
    {
        return array_merge($this->prepareAttributes(), $this->attributeLoader->load($this, $this->getHeaderStockMappings()));
    }
protected function prepareStockItemAttributes()
    {
        return array_merge($this->prepareAttributes(), $this->attributeLoader->load($this, $this->getHeaderStockMappings()));
    }
protected function prepareStockItemAttributes ( ) { return array_merge ( $ this -> prepareAttributes ( ) , $ this -> attributeLoader -> load ( $ this , $ this -> getHeaderStockMappings ( ) ) ) ; }
Prepare the stock item attributes of the entity that has to be persisted.

@return array The prepared stock status item
Prepare the stock item attributes of the entity that has to be persisted .