Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
setup
src
Magento
Setup
Model
Customer
CustomerDataGeneratorFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Setup\Model\Customer
;
7
11
class
CustomerDataGeneratorFactory
12
{
16
private
$objectManager;
17
21
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objectManager)
22
{
23
$this->objectManager =
$objectManager
;
24
}
25
32
public
function
create
(array
$config
)
33
{
34
return
$this->objectManager->create(
35
\
Magento
\
Setup
\Model\Customer\CustomerDataGenerator::class,
36
[
37
'addressGenerator'
=> $this->objectManager->create(
38
\
Magento
\
Setup
\Model\Address\AddressDataGenerator::class
39
),
40
'config'
=>
$config
41
]
42
);
43
}
44
}
Magento\Setup\Module\Setup
Definition:
Setup.php:14
$objectManager
$objectManager
Definition:
bootstrap.php:17
$config
$config
Definition:
fraud_order.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Setup\Model\Customer\CustomerDataGeneratorFactory
Definition:
CustomerDataGeneratorFactory.php:11
Magento\Setup\Model\Customer\CustomerDataGeneratorFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
CustomerDataGeneratorFactory.php:21
Magento
Magento\Setup\Model\Customer
Definition:
CustomerDataGenerator.php:6
Magento\Setup\Model\Customer\CustomerDataGeneratorFactory\create
create(array $config)
Definition:
CustomerDataGeneratorFactory.php:32