Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Options.php
Go to the documentation of this file.
1 <?php
13 
19 {
23  protected $_helper;
24 
28  public function __construct(\Magento\Backup\Helper\Data $backupHelper)
29  {
30  $this->_helper = $backupHelper;
31  }
32 
37  public function toOptionArray()
38  {
39  return $this->_helper->getBackupTypes();
40  }
41 }
__construct(\Magento\Backup\Helper\Data $backupHelper)
Definition: Options.php:28