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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $categoryLinkManagement = $objectManager->create(\Magento\Catalog\Api\CategoryLinkManagementInterface::class)
 
 $product = $objectManager->create(\Magento\Catalog\Model\Product::class)
 
 $oldOptions
 
 $options = []
 
 $customOptionFactory = $objectManager->create(\Magento\Catalog\Api\Data\ProductCustomOptionInterfaceFactory::class)
 
 $productRepositoryFactory = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class)
 

Variable Documentation

◆ $categoryLinkManagement

$categoryLinkManagement = $objectManager->create(\Magento\Catalog\Api\CategoryLinkManagementInterface::class)

Definition at line 13 of file product_simple_with_custom_options.php.

◆ $customOptionFactory

$customOptionFactory = $objectManager->create(\Magento\Catalog\Api\Data\ProductCustomOptionInterfaceFactory::class)

Definition at line 106 of file product_simple_with_custom_options.php.

◆ $objectManager

Definition at line 10 of file product_simple_with_custom_options.php.

◆ $oldOptions

$oldOptions

Definition at line 43 of file product_simple_with_custom_options.php.

◆ $options

$options = []

Definition at line 103 of file product_simple_with_custom_options.php.

◆ $product

$product = $objectManager->create(\Magento\Catalog\Model\Product::class)

Definition at line 16 of file product_simple_with_custom_options.php.

◆ $productRepositoryFactory

$productRepositoryFactory = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class)

Definition at line 119 of file product_simple_with_custom_options.php.