_scopePool = $scopePool; } /** * Retrieve config value by path and scope * * @param string $path * @return mixed */ public function getValue($path) { return $this->_scopePool->getScope(ScopeConfigInterface::SCOPE_TYPE_DEFAULT, null)->getValue($path); } /** * Set config value in the corresponding config scope * * @param string $path * @param mixed $value * @return void */ public function setValue($path, $value) { $this->_scopePool->getScope(ScopeConfigInterface::SCOPE_TYPE_DEFAULT, null)->setValue($path, $value); } /** * Retrieve config flag * * @param string $path * @return bool */ public function isSetFlag($path) { return !!$this->_scopePool->getScope(ScopeConfigInterface::SCOPE_TYPE_DEFAULT, null)->getValue($path); } }