Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RequireBillingAddress.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  protected $_configFactory;
17 
21  public function __construct(\Magento\Paypal\Model\ConfigFactory $configFactory)
22  {
23  $this->_configFactory = $configFactory;
24  }
25 
29  public function toOptionArray()
30  {
31  return $this->_configFactory->create()->getRequireBillingAddressOptions();
32  }
33 }
$configFactory
Definition: config_data.php:43
__construct(\Magento\Paypal\Model\ConfigFactory $configFactory)