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-payment
Gateway
Config
ConfigFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Gateway\Config
;
7
8
use
Magento\Framework\ObjectManagerInterface
;
9
use
Magento\Payment\Gateway\ConfigFactoryInterface
;
10
11
class
ConfigFactory
implements
ConfigFactoryInterface
12
{
16
private
$om;
17
22
public
function
__construct
(
23
ObjectManagerInterface
$om
24
) {
25
$this->om =
$om
;
26
}
27
33
public
function
create
($paymentCode =
null
,
$pathPattern
=
null
)
34
{
35
$arguments
= [
36
'methodCode'
=> $paymentCode
37
];
38
39
if
(
$pathPattern
!==
null
) {
40
$arguments
[
'pathPattern'
] =
$pathPattern
;
41
}
42
43
return
$this->om->create(Config::class,
$arguments
);
44
}
45
}
Magento\Payment\Gateway\Config\ConfigFactory
Definition:
ConfigFactory.php:11
$pathPattern
$pathPattern
Definition:
deployTestModules.php:33
Magento\Payment\Gateway\Config\ConfigFactory\__construct
__construct(ObjectManagerInterface $om)
Definition:
ConfigFactory.php:22
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Payment\Gateway\Config\ConfigFactory\create
create($paymentCode=null, $pathPattern=null)
Definition:
ConfigFactory.php:33
Magento\Payment\Gateway\ConfigFactoryInterface
Definition:
ConfigFactoryInterface.php:14
$om
$om
Definition:
notifications.php:6
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Payment\Gateway\Config
Definition:
Config.php:6