lib/simple-parameter-injector.js
/**
     * Injects parameters into a string
     *
     * @private
     *
     * @param {string} str The target string
     * @param {string|array|object} params The params to be injected into the target string
     *
     * @return {string} Target string with injected parameters
     */
Injects parameters into a string
@private

@param {string} str The target string
@param {string|array|object} params The params to be injected into the target string

@return {string} Target string with injected parameters
Injects parameters into a string @private @param { string } str The target string @param { string|array|object } params The params to be injected into the target string @return { string } Target string with injected parameters
injectParams(str, params) {
        if (_.isPlainObject(params)) {
            return this.injectParamsObject(str, params);
        }
        if (!_.isArray(params)) {
            params = [params];
        }
        return this.injectParamsArray(str, params);
    }
injectParams ( str , params ) { if ( _ . isPlainObject ( params ) ) { return this . injectParamsObject ( str , params ) ; } if ( ! _ . isArray ( params ) ) { params = [ params ] ; } return this . injectParamsArray ( str , params ) ; }
Injects parameters into a string
 @private
Injects parameters into a string @private