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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $customerRepository = $objectManager->create(\Magento\Customer\Api\CustomerRepositoryInterface::class)
 
 $customer = $customerRepository->getById(1)
 
 $message = $objectManager->create(\Magento\GiftMessage\Model\Message::class)
 
 $quote = $objectManager->create(\Magento\Quote\Model\Quote::class)
 
 $quoteIdMask
 

Variable Documentation

◆ $customer

$customer = $customerRepository->getById(1)

Definition at line 13 of file quote_with_customer_and_message.php.

◆ $customerRepository

$customerRepository = $objectManager->create(\Magento\Customer\Api\CustomerRepositoryInterface::class)

Definition at line 12 of file quote_with_customer_and_message.php.

◆ $message

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

Definition at line 16 of file quote_with_customer_and_message.php.

◆ $objectManager

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

Definition at line 9 of file quote_with_customer_and_message.php.

◆ $quote

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

Definition at line 23 of file quote_with_customer_and_message.php.

◆ $quoteIdMask

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

Definition at line 35 of file quote_with_customer_and_message.php.