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
ConfigValueHandler.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Gateway\Config
;
7
8
use
Magento\Payment\Gateway\ConfigInterface
;
9
use
Magento\Payment\Gateway\Helper\SubjectReader
;
10
19
class
ConfigValueHandler
implements
ValueHandlerInterface
20
{
24
private
$configInterface;
25
29
public
function
__construct
(
30
ConfigInterface
$configInterface
31
) {
32
$this->configInterface = $configInterface;
33
}
34
43
public
function
handle
(array $subject,
$storeId
=
null
)
44
{
45
return
$this->configInterface->getValue(
SubjectReader::readField
($subject),
$storeId
);
46
}
47
}
Magento\Payment\Gateway\Helper\SubjectReader\readField
static readField(array $subject)
Definition:
SubjectReader.php:58
$storeId
$storeId
Definition:
customer_review_with_rating.php:14
Magento\Payment\Gateway\ConfigInterface
Definition:
ConfigInterface.php:14
Magento\Payment\Gateway\Helper\SubjectReader
Definition:
SubjectReader.php:18
Magento\Payment\Gateway\Config\ConfigValueHandler
Definition:
ConfigValueHandler.php:19
Magento\Payment\Gateway\Config\ConfigValueHandler\handle
handle(array $subject, $storeId=null)
Definition:
ConfigValueHandler.php:43
Magento\Payment\Gateway\Config\ConfigValueHandler\__construct
__construct(ConfigInterface $configInterface)
Definition:
ConfigValueHandler.php:29
Magento\Payment\Gateway\Config
Definition:
Config.php:6
Magento\Payment\Gateway\Config\ValueHandlerInterface
Definition:
ValueHandlerInterface.php:14