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

Go to the source code of this file.

Variables

 $registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class)
 
 $productRepository
 
 try
 

Variable Documentation

◆ $productRepository

$productRepository
Initial value:
\Magento\Catalog\Api\ProductRepositoryInterface::class
)

Definition at line 14 of file product_grouped_rollback.php.

◆ $registry

$registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class)

Definition at line 9 of file product_grouped_rollback.php.

◆ try

catch (NoSuchEntityException $e) try
Initial value:
{
$simpleProduct = $productRepository->get('simple', false, null, true)

Definition at line 19 of file product_grouped_rollback.php.