function _getConnectorConfigByLayer(sLayer) {
		if (!sLayer) {
			return Promise.reject("No layer was provided");
		}
		return _getWriteConnectors()
			.then(findConnectorConfigForLayer.bind(this, sLayer));
	}
/**
	 * Determines the connector in charge for a given layer.
	 *
	 * @param {string} sLayer - Layer on which the file should be stored
	 * @returns {Promise<sap.ui.fl.write.connectors.BaseConnector>} Returns the connector in charge for the layer or rejects in case no connector can be determined
	 */
Determines the connector in charge for a given layer.
@param {string} sLayer - Layer on which the file should be stored
@returns {Promise} Returns the connector in charge for the layer or rejects in case no connector can be determined
Determines the connector in charge for a given layer . @param { string } sLayer - Layer on which the file should be stored @returns { Promise } Returns the connector in charge for the layer or rejects in case no connector can be determined
function _getConnectorConfigByLayer(sLayer) {
		if (!sLayer) {
			return Promise.reject("No layer was provided");
		}
		return _getWriteConnectors()
			.then(findConnectorConfigForLayer.bind(this, sLayer));
	}
function _getConnectorConfigByLayer ( sLayer ) { if ( ! sLayer ) { return Promise . reject ( "No layer was provided" ) ; } return _getWriteConnectors ( ) . then ( findConnectorConfigForLayer . bind ( this , sLayer ) ) ; }
Determines the connector in charge for a given layer.
Determines the connector in charge for a given layer .