magento2-plugin/Model/Config/Source/HttpScheme.php
2019-08-15 22:25:30 +02:00

22 lines
462 B
PHP

<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Storefront\BTCPay\Model\Config\Source;
use Magento\Framework\Option\ArrayInterface;
class HttpScheme implements ArrayInterface {
public function toOptionArray() {
return [
'https' => 'HTTPS (Recommended)',
'http' => 'HTTP (Unsecure, but may be needed if you run BTCPay Server on TOR)',
];
}
}