protected function saveField($path, $property, $scope, $scopeId, $value = null)
    {
        if ($value === null) {
            if (isset($this->configMapping[$property])) {
                $value = $this->getPropertyValue($property);
            } else {
                $this->logger->error('The specified property "' . $property . '" is not in the DI list');
            }
        }

        if ($value !== null) {
            $this->logger->debug(
                '    Saving config field \'' . $property . '\' with value \'' . $value . '\' to scope {\''
                . $scope . '\':\'' . $scopeId . '\'}'
            );
            $value = $this->prepareForDatabase($property, $value);
            $this->configResource->saveConfig($path, $value, $scope, $scopeId);
        }
    }
protected function saveField($path, $property, $scope, $scopeId, $value = null)
    {
        if ($value === null) {
            if (isset($this->configMapping[$property])) {
                $value = $this->getPropertyValue($property);
            } else {
                $this->logger->error('The specified property "' . $property . '" is not in the DI list');
            }
        }

        if ($value !== null) {
            $this->logger->debug(
                '    Saving config field \'' . $property . '\' with value \'' . $value . '\' to scope {\''
                . $scope . '\':\'' . $scopeId . '\'}'
            );
            $value = $this->prepareForDatabase($property, $value);
            $this->configResource->saveConfig($path, $value, $scope, $scopeId);
        }
    }
protected function saveField ( $ path , $ property , $ scope , $ scopeId , $ value = null ) { if ( $ value === null ) { if ( isset ( $ this -> configMapping [ $ property ] ) ) { $ value = $ this -> getPropertyValue ( $ property ) ; } else { $ this -> logger -> error ( 'The specified property "' . $ property . '" is not in the DI list' ) ; } } if ( $ value !== null ) { $ this -> logger -> debug ( '    Saving config field \'' . $ property . '\' with value \'' . $ value . '\' to scope {\'' . $ scope . '\':\'' . $ scopeId . '\'}' ) ; $ value = $ this -> prepareForDatabase ( $ property , $ value ) ; $ this -> configResource -> saveConfig ( $ path , $ value , $ scope , $ scopeId ) ; } }
Saves this property to magento core_config_data

@param string $path
@param string $property
@param string $scope
@param int    $scopeId
@param mixed  $value

@throws \Exception
Saves this property to magento core_config_data