Yac::__construct

(PECL yac >= 1.0.0)

Yac::__constructConstructor

説明

public Yac::__construct(string $prefix = "")

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.

関連キーワード:  Constructor, Yac, construct, Throws, string, Exception, key, max, exceeds, enabled