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
AdminAccountFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Setup\Model
;
8
9
use
Magento\Setup\Module\Setup
;
10
use Zend\ServiceManager\ServiceLocatorInterface;
11
use
Magento\Framework\Serialize\Serializer\Json
;
12
use
Magento\Framework\DB\Adapter\AdapterInterface
;
13
14
class
AdminAccountFactory
15
{
19
protected
$serviceLocator
;
20
24
public
function
__construct
(ServiceLocatorInterface
$serviceLocator
)
25
{
26
$this->serviceLocator =
$serviceLocator
;
27
}
28
34
public
function
create
(
AdapterInterface
$connection
,
$data
)
35
{
36
return
new
AdminAccount
(
37
$connection
,
38
$this->serviceLocator->get(\
Magento
\Framework\Encryption\Encryptor::class),
39
$data
40
);
41
}
42
}
Magento\Setup\Model\AdminAccountFactory
Definition:
AdminAccountFactory.php:14
Magento\Framework\Serialize\Serializer\Json
Definition:
Json.php:16
Magento\Setup\Model
Definition:
ConfigOptionsListCollectorTest.php:6
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Setup\Module\Setup
Definition:
ResourceConfig.php:6
Magento\Setup\Model\AdminAccountFactory\create
create(AdapterInterface $connection, $data)
Definition:
AdminAccountFactory.php:34
Magento
Magento\Framework\DB\Adapter\AdapterInterface
Definition:
AdapterInterface.php:16
Magento\Setup\Model\AdminAccount
Definition:
AdminAccount.php:15
Magento\Setup\Model\AdminAccountFactory\$serviceLocator
$serviceLocator
Definition:
AdminAccountFactory.php:19
$connection
$connection
Definition:
bulk.php:13
Magento\Setup\Model\AdminAccountFactory\__construct
__construct(ServiceLocatorInterface $serviceLocator)
Definition:
AdminAccountFactory.php:24