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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class)
 
 $product = $productRepository->get('simple')
 
 $options = []
 
foreach($product->getOptions() as $option) $requestInfo = new \Magento\Framework\DataObject(['qty' => 1, 'options' => $options])
 
 $validatorFile = (new ValidatorFileMock())->getInstance()
 
 $quoteIdMask
 

Variable Documentation

◆ $objectManager

◆ $options

$options = []

◆ $product

$product = $productRepository->get('simple')

◆ $productRepository

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

◆ $quoteIdMask

$quoteIdMask
Initial value:
->create(\Magento\Quote\Model\QuoteIdMaskFactory::class)
->create()

Definition at line 49 of file quote_with_items_and_custom_options_saved.php.

◆ $requestInfo

foreach ( $product->getOptions() as $option) $requestInfo = new \Magento\Framework\DataObject(['qty' => 1, 'options' => $options])

◆ $validatorFile

$validatorFile = (new ValidatorFileMock())->getInstance()