public static function config($adapter, $options = []) {
		$_this = static::getInstance();

		if (!empty($adapter) && !empty($options)) {
			return $_this->_adapterConfig[$adapter] = $options;
		}

		if (isset($_this->_adapterConfig[$adapter])) {
			return $_this->_adapterConfig[$adapter];
		}

		return false;
	}
public static function config($adapter, $options = []) {
		$_this = static::getInstance();

		if (!empty($adapter) && !empty($options)) {
			return $_this->_adapterConfig[$adapter] = $options;
		}

		if (isset($_this->_adapterConfig[$adapter])) {
			return $_this->_adapterConfig[$adapter];
		}

		return false;
	}
public static function config ( $ adapter , $ options = [ ] ) { $ _this = static :: getInstance ( ) ; if ( ! empty ( $ adapter ) && ! empty ( $ options ) ) { return $ _this -> _adapterConfig [ $ adapter ] = $ options ; } if ( isset ( $ _this -> _adapterConfig [ $ adapter ] ) ) { return $ _this -> _adapterConfig [ $ adapter ] ; } return false ; }
Gets the configuration array for an adapter.

@param string $adapter
@param array $options
@throws \InvalidArgumentException
@return mixed
Gets the configuration array for an adapter .