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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $store = $objectManager->get(\Magento\Store\Model\StoreManager::class)
 
 $customer
 

Variable Documentation

◆ $customer

$customer
Initial value:
= $objectManager->create(
\Magento\Customer\Model\Customer::class,
[
'data' => [
'website_id' => $store->getDefaultStoreView()->getWebsiteId(),
'email' => '[email protected]',
'store_id' => $store->getDefaultStoreView()->getId(),
'is_active' => true,
'firstname' => 'John',
'lastname' => 'Doe',
]
]
)

Definition at line 14 of file customer_with_website.php.

◆ $objectManager

Definition at line 8 of file customer_with_website.php.

◆ $store

$store = $objectManager->get(\Magento\Store\Model\StoreManager::class)

Definition at line 11 of file customer_with_website.php.