Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
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
 
 foreach ([ 'simple_10', 'simple_20', 'configurable', 'simple_30', 'simple_40', 'configurable_12345'] as $sku)
 

Variable Documentation

◆ $objectManager

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 6 of file configurable_products_rollback.php.

◆ $productRepository

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

Definition at line 15 of file configurable_products_rollback.php.

◆ $registry

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

Definition at line 9 of file configurable_products_rollback.php.

◆ foreach

foreach(['simple_10', 'simple_20', 'configurable', 'simple_30', 'simple_40', 'configurable_12345'] as $sku)

Definition at line 18 of file configurable_products_rollback.php.