public function mergeSolrConfiguration(array $configurationToMerge, $addKeys = true, $includeEmptyValues = true, $enableUnsetFeature = true)
    {
        $data = $this->configurationAccess->getData();
        ArrayUtility::mergeRecursiveWithOverrule(
            $data['plugin.']['tx_solr.'],
            $configurationToMerge,
            $addKeys,
            $includeEmptyValues,
            $enableUnsetFeature
        );

        $this->configurationAccess->setData($data);

        return $this;
    }
public function mergeSolrConfiguration(array $configurationToMerge, $addKeys = true, $includeEmptyValues = true, $enableUnsetFeature = true)
    {
        $data = $this->configurationAccess->getData();
        ArrayUtility::mergeRecursiveWithOverrule(
            $data['plugin.']['tx_solr.'],
            $configurationToMerge,
            $addKeys,
            $includeEmptyValues,
            $enableUnsetFeature
        );

        $this->configurationAccess->setData($data);

        return $this;
    }
public function mergeSolrConfiguration ( array $ configurationToMerge , $ addKeys = true , $ includeEmptyValues = true , $ enableUnsetFeature = true ) { $ data = $ this -> configurationAccess -> getData ( ) ; ArrayUtility :: mergeRecursiveWithOverrule ( $ data [ 'plugin.' ] [ 'tx_solr.' ] , $ configurationToMerge , $ addKeys , $ includeEmptyValues , $ enableUnsetFeature ) ; $ this -> configurationAccess -> setData ( $ data ) ; return $ this ; }
Merges a configuration with another configuration a

@param array $configurationToMerge
@param bool $addKeys If set to FALSE, keys that are NOT found in $original will not be set. Thus only existing value can/will be overruled from overrule array.
@param bool $includeEmptyValues If set, values from $overrule will overrule if they are empty or zero.
@param bool $enableUnsetFeature If set, special values "__UNSET" can be used in the overrule array in order to unset array keys in the original array.
@return TypoScriptConfiguration
Merges a configuration with another configuration a