Class constructor
public __construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker ) | ||
$context | Magento\Backend\App\Action\Context | Action context |
$configStructure | Magento\Config\Model\Config\Structure | Relevance configuration Structure |
$sectionChecker | Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker | Configuration Section Checker |
/** * Class constructor * * @param Context $context Action context * @param Structure $configStructure Relevance configuration Structure * @param ConfigSectionChecker $sectionChecker Configuration Section Checker * @param Factory $configFactory Configuration Factory * @param FrontendInterface $cache Cache instance * @param StringUtils $string String helper */ public function __construct(Context $context, Structure $configStructure, ConfigSectionChecker $sectionChecker, Factory $configFactory, FrontendInterface $cache, StringUtils $string) { parent::__construct($context, $configStructure, $sectionChecker); $this->configFactory = $configFactory; $this->cache = $cache; $this->string = $string; }
/** * Class constructor * * @param Context $context Action context * @param Structure $configStructure Relevance configuration Structure * @param ConfigSectionChecker $sectionChecker Configuration Section Checker * @param Config $backendConfig Configuration model */ public function __construct(Context $context, Structure $configStructure, ConfigSectionChecker $sectionChecker, Config $backendConfig) { $this->backendConfig = $backendConfig; parent::__construct($context, $configStructure, $sectionChecker); }