1
0
mirror of synced 2025-02-20 14:13:13 +03:00
magento-module/Model/Service/ConfigManager.php

20 lines
407 B
PHP
Raw Normal View History

2018-04-28 11:39:23 +03:00
<?php
namespace Retailcrm\Retailcrm\Model\Service;
class ConfigManager implements \Retailcrm\Retailcrm\Api\ConfigManagerInterface
{
private $config;
public function __construct(
\Magento\Framework\App\Config\ScopeConfigInterface $config
) {
$this->config = $config;
}
public function getConfigValue($path)
{
return $this->config->getValue($path);
}
}