Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
stock.php File Reference

Go to the source code of this file.

Variables

 $stockFactory = Bootstrap::getObjectManager()->get(StockInterfaceFactory::class)
 
 $dataObjectHelper = Bootstrap::getObjectManager()->get(DataObjectHelper::class)
 
 $stockRepository = Bootstrap::getObjectManager()->get(StockRepositoryInterface::class)
 
 $stock = $stockFactory->create()
 

Variable Documentation

◆ $dataObjectHelper

$dataObjectHelper = Bootstrap::getObjectManager()->get(DataObjectHelper::class)

Definition at line 17 of file stock.php.

◆ $stock

$stock = $stockFactory->create()

Definition at line 22 of file stock.php.

◆ $stockFactory

$stockFactory = Bootstrap::getObjectManager()->get(StockInterfaceFactory::class)

Definition at line 15 of file stock.php.

◆ $stockRepository

$stockRepository = Bootstrap::getObjectManager()->get(StockRepositoryInterface::class)

Definition at line 19 of file stock.php.