The Yaf_Config_Simple construct method parameters may be wrong documenting, actually first parameter shoud be array and second is string indicating if readonly.(Yaf >=1.0.0)
Yaf_Config_Simple 是基于 PHP 数组 (可选地,也可以基于 INI 文件)的配置适配器。 与 Yaf_Config_Ini 不同,它默认是可修改的: 可以在运行时修改配置值,这使它既适用于以编程方式构建的配置, 也适用于需要在请求过程中调整的配置。
The Yaf_Config_Simple construct method parameters may be wrong documenting, actually first parameter shoud be array and second is string indicating if readonly.