NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## \_prefix ##### Description A utility method to prefix the value with the prefix setting for phpredis. 用于给VALUE加入前缀 ##### Parameters *value* string. The value you wish to prefix ##### Return value If a prefix is set up, the value now prefixed. If there is no prefix, the value will be returned unchanged. ##### Examples ``` <pre class="calibre16">$redis->setOpt(Redis::OPT_PREFIX, 'my-prefix:'); $redis->_prefix('my-value'); // Will return 'my-prefix:my-value' ``` ##