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

Go to the source code of this file.

Variables

 $customer
 
 $customerRegistry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(CustomerRegistry::class)
 
 $customerData
 
 $addressOne
 
 $addressOneData
 
 $addressTwo
 
 $addressTwoData
 
 $addressThree
 
 $addressThreeData
 

Variable Documentation

◆ $addressOne

$addressOne
Initial value:

Definition at line 29 of file customer_sample.php.

◆ $addressOneData

$addressOneData
Initial value:
= [
'firstname' => 'test firstname',
'lastname' => 'test lastname',
'street' => ['test street'],
'city' => 'test city',
'region_id' => 10,
'country_id' => 'US',
'postcode' => '01001',
'telephone' => '+7000000001',
'entity_id' => 1,
]

Definition at line 32 of file customer_sample.php.

◆ $addressThree

$addressThree
Initial value:

Definition at line 65 of file customer_sample.php.

◆ $addressThreeData

$addressThreeData
Initial value:
= [
'firstname' => 'removed firstname',
'lastname' => 'removed lastname',
'street' => ['removed street'],
'city' => 'removed city',
'region_id' => 10,
'country_id' => 'US',
'postcode' => '01001',
'telephone' => '+7000000001',
'entity_id' => 3,
]

Definition at line 68 of file customer_sample.php.

◆ $addressTwo

$addressTwo
Initial value:

Definition at line 47 of file customer_sample.php.

◆ $addressTwoData

$addressTwoData
Initial value:
= [
'firstname' => 'test firstname',
'lastname' => 'test lastname',
'street' => ['test street'],
'city' => 'test city',
'region_id' => 10,
'country_id' => 'US',
'postcode' => '01001',
'telephone' => '+7000000001',
'entity_id' => 2,
]

Definition at line 50 of file customer_sample.php.

◆ $customer

$customer
Initial value:

Definition at line 9 of file customer_sample.php.

◆ $customerData

$customerData
Initial value:
= [
'group_id' => 1,
'website_id' => 1,
'store_id' => 1,
'firstname' => 'test firstname',
'lastname' => 'test lastname',
'email' => '[email protected]',
'default_billing' => 1,
'password' => '123123q',
'attribute_set_id' => 1,
]

Definition at line 14 of file customer_sample.php.

◆ $customerRegistry

$customerRegistry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(CustomerRegistry::class)

Definition at line 12 of file customer_sample.php.