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
Model
ResourceModel
Grid
GroupList.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Model\ResourceModel\Grid
;
7
11
class
GroupList
implements
\Magento\Framework\Option\ArrayInterface
12
{
18
protected
$paymentData
;
19
23
public
function
__construct
(\
Magento
\Payment\Helper\Data
$paymentData
)
24
{
25
$this->paymentData =
$paymentData
;
26
}
27
33
public
function
toOptionArray
()
34
{
35
return
$this->paymentData->getPaymentMethodList(
true
,
true
,
true
);
36
}
37
}
Magento\Payment\Model\ResourceModel\Grid
Definition:
GroupList.php:6
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Payment\Model\ResourceModel\Grid\GroupList\toOptionArray
toOptionArray()
Definition:
GroupList.php:33
Magento\Payment\Model\ResourceModel\Grid\GroupList\__construct
__construct(\Magento\Payment\Helper\Data $paymentData)
Definition:
GroupList.php:23
Magento\Payment\Model\ResourceModel\Grid\GroupList
Definition:
GroupList.php:11
Magento
Magento\Payment\Model\ResourceModel\Grid\GroupList\$paymentData
$paymentData
Definition:
GroupList.php:18