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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $registry = $objectManager->get(\Magento\Framework\Registry::class)
 
 $productRepository
 
 $skus = ['simple_10', 'simple_20', 'configurable_in_stock', 'simple_30', 'simple_40', 'configurable_out_of_stock']
 
 foreach ( $skus as $sku)
 

Variable Documentation

◆ $objectManager

◆ $productRepository

$productRepository
Initial value:
->get(\Magento\Catalog\Api\ProductRepositoryInterface::class)

Definition at line 17 of file default_stock_configurable_products_rollback.php.

◆ $registry

$registry = $objectManager->get(\Magento\Framework\Registry::class)

◆ $skus

$skus = ['simple_10', 'simple_20', 'configurable_in_stock', 'simple_30', 'simple_40', 'configurable_out_of_stock']

◆ foreach

foreach($skus as $sku)