Yac::__construct
(PECL yac >= 1.0.0)
Yac::__construct — Constructor
说明
prefix is used to prepended to keys, this could be used to avoiding conflicts between apps.
参数
prefix
-
string prefix
错误/异常
Throws an Exception if Yac is not enabled. Throws
Exception if prefix
exceeds
max key length of 48 (YAC_MAX_KEY_LEN
) bytes.
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。