MCPcopy
hub / github.com/thinkjs/thinkjs / config

Function config

lib/extend/controller.js:92–94  ·  view source on GitHub ↗

* get or set config * @param {String} name * @param {Mix} value * @param {String} m

(name, value, m = this.ctx.module)

Source from the content-addressed store, hash-verified

90 * @param {String} m
91 */
92 config(name, value, m = this.ctx.module) {
93 return think.config(name, value, m);
94 },
95 /**
96 * is method
97 * @param {String} method

Callers

nothing calls this directly

Calls 1

configMethod · 0.80

Tested by

no test coverage detected