protected function _setConfig() {
		$config = [];
		$currentConfig = $this->_modelConfigSearchInfo->getConfig();
		if (!empty($this->_searchInfo) && is_array($this->_searchInfo)) {
			$config = $this->_searchInfo + $currentConfig;
		}

		if (!empty($this->AutocompleteLimit) && is_numeric($this->AutocompleteLimit)) {
			$config = Hash::merge($config, ['AutocompleteLimit' => $this->AutocompleteLimit] + $currentConfig);
		}

		if (!empty($config)) {
			Configure::write('CakeSearchInfo', $config);
		}
	}
protected function _setConfig() {
		$config = [];
		$currentConfig = $this->_modelConfigSearchInfo->getConfig();
		if (!empty($this->_searchInfo) && is_array($this->_searchInfo)) {
			$config = $this->_searchInfo + $currentConfig;
		}

		if (!empty($this->AutocompleteLimit) && is_numeric($this->AutocompleteLimit)) {
			$config = Hash::merge($config, ['AutocompleteLimit' => $this->AutocompleteLimit] + $currentConfig);
		}

		if (!empty($config)) {
			Configure::write('CakeSearchInfo', $config);
		}
	}
protected function _setConfig ( ) { $ config = [ ] ; $ currentConfig = $ this -> _modelConfigSearchInfo -> getConfig ( ) ; if ( ! empty ( $ this -> _searchInfo ) && is_array ( $ this -> _searchInfo ) ) { $ config = $ this -> _searchInfo + $ currentConfig ; } if ( ! empty ( $ this -> AutocompleteLimit ) && is_numeric ( $ this -> AutocompleteLimit ) ) { $ config = Hash :: merge ( $ config , [ 'AutocompleteLimit' => $ this -> AutocompleteLimit ] + $ currentConfig ) ; } if ( ! empty ( $ config ) ) { Configure :: write ( 'CakeSearchInfo' , $ config ) ; } }
Merge configuration of plugin with configuration of component and write it.

@return void
Merge configuration of plugin with configuration of component and write it .