Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Magento\Store\Model\StoreManagerInterface;
use Magento\Framework\Encryption\EncryptorInterface;
use Magento\Framework\Filesystem\DirectoryList;
use Magento\Framework\Module\Manager as ModuleManager;

class Config implements ConfigInterface
{
Expand Down Expand Up @@ -73,13 +74,20 @@ class Config implements ConfigInterface
*/
protected $directoryList;

/**
* @var ModuleManager
*/
protected $moduleManager;

/**
* @param ScopeConfigInterface $scopeConfig
* @param StoreManagerInterface $storeManager
* @param WriterInterface $configWriter
* @param ConfigCollectionFactory $configCollectionFactory
* @param DateTime $dateTime
* @param EncryptorInterface $encryptor
* @param DirectoryList $directoryList
* @param ModuleManager $moduleManager
*/
public function __construct(
ScopeConfigInterface $scopeConfig,
Expand All @@ -88,7 +96,8 @@ public function __construct(
ConfigCollectionFactory $configCollectionFactory,
DateTime $dateTime,
EncryptorInterface $encryptor,
DirectoryList $directoryList
DirectoryList $directoryList,
ModuleManager $moduleManager
) {
$this->scopeConfig = $scopeConfig;
$this->storeManager = $storeManager;
Expand All @@ -97,6 +106,7 @@ public function __construct(
$this->dateTime = $dateTime;
$this->encryptor = $encryptor;
$this->directoryList = $directoryList;
$this->moduleManager = $moduleManager;
}

/**
Expand Down