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

Go to the source code of this file.

Variables

 $registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class)
 
 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $quote = $objectManager->create(\Magento\Quote\Model\Quote::class)
 
 $message = $objectManager->create(\Magento\GiftMessage\Model\Message::class)
 
 $product = $objectManager->create(\Magento\Catalog\Model\Product::class)
 
 foreach ( $quote->getAllItems() as $item)
 

Variable Documentation

◆ $message

$message = $objectManager->create(\Magento\GiftMessage\Model\Message::class)

Definition at line 13 of file quote_with_item_message_rollback.php.

◆ $objectManager

Definition at line 10 of file quote_with_item_message_rollback.php.

◆ $product

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

Definition at line 14 of file quote_with_item_message_rollback.php.

◆ $quote

$quote = $objectManager->create(\Magento\Quote\Model\Quote::class)

Definition at line 11 of file quote_with_item_message_rollback.php.

◆ $registry

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

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

Definition at line 7 of file quote_with_item_message_rollback.php.

◆ foreach

foreach($quote->getAllItems() as $item)

Definition at line 15 of file quote_with_item_message_rollback.php.