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-config
Model
Config
Source
Web
Protocol.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Config\Model\Config\Source\Web
;
7
12
class
Protocol
implements
\Magento\Framework\Option\ArrayInterface
13
{
17
public
function
toOptionArray
()
18
{
19
return
[
20
[
'value'
=>
''
,
'label'
=>
''
],
21
[
'value'
=>
'http'
,
'label'
=>
__
(
'HTTP (unsecure)'
)],
22
[
'value'
=>
'https'
,
'label'
=>
__
(
'HTTPS (SSL)'
)]
23
];
24
}
25
}
Magento\Config\Model\Config\Source\Web
Definition:
Protocol.php:6
Magento\Config\Model\Config\Source\Web\Protocol
Definition:
Protocol.php:12
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Config\Model\Config\Source\Web\Protocol\toOptionArray
toOptionArray()
Definition:
Protocol.php:17