for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pagantis\Pagantis\Helper;
/**
* Class Config
* @package Pagantis\Pagantis\Helper
*/
class Config
{
* @var \Magento\Framework\App\Config\ScopeConfigInterface
protected $scopeConfig;
* Config constructor.
*
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig)
$this->scopeConfig = $scopeConfig;
}
* @return mixed
public function getConfig()
return $this->scopeConfig->getValue('payment/pagantis');