_resource = $resource; } /** * Delete config value from storage * * @param string $path * @param string $scope * @param int $scopeId * @return void */ public function delete($path, $scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeId = 0) { $this->_resource->deleteConfig(rtrim($path, '/'), $scope, $scopeId); } /** * Save config value to storage * * @param string $path * @param string $value * @param string $scope * @param int $scopeId * @return void */ public function save($path, $value, $scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeId = 0) { $this->_resource->saveConfig(rtrim($path, '/'), $value, $scope, $scopeId); } }