1
0
mirror of synced 2025-02-18 05:03:14 +03:00
magento-module/Model/Service/ConfigManager.php
Akolzin Dmitry 3b6430cf7d Refactoring
2018-04-28 11:59:43 +03:00

20 lines
407 B
PHP

<?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);
}
}