phpf / config

Phpf 配置包

dev-master 2014-05-18 23:54 UTC

This package is not auto-updated.

Last update: 2024-09-14 12:46:49 UTC


README

通用配置类

###需求

  • Wells\Util

##基本用法

使用点符号设置和获取嵌套数组中的设置。

$config = new Wells\Config\Object;
$config->set('use.template.views', true);

上述内容将存储为

"use" => array(
    "template" => array(
        "views" => true
    ),
);