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
module-analytics
Model
ProviderFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Analytics\Model
;
7
8
use
Magento\Framework\ObjectManagerInterface
;
9
13
class
ProviderFactory
14
{
18
private
$objectManager;
19
23
public
function
__construct
(
24
ObjectManagerInterface
$objectManager
25
) {
26
$this->objectManager =
$objectManager
;
27
}
28
33
public
function
create
($providerName)
34
{
35
return
$this->objectManager->get($providerName);
36
}
37
}
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Analytics\Model\ProviderFactory\__construct
__construct(ObjectManagerInterface $objectManager)
Definition:
ProviderFactory.php:23
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Analytics\Model\ProviderFactory\create
create($providerName)
Definition:
ProviderFactory.php:33
Magento\Analytics\Model
Magento\Analytics\Model\ProviderFactory
Definition:
ProviderFactory.php:13