atk14/dictionary
最新稳定版本:v1.0
Composer 安装命令:
composer require atk14/dictionary
包简介
Dictionary implementation
关键字:
README 文档
README
Dictionary implementation used in the ATK14 Framework
Basic usage
$dictionary = new Dictionary([
"key1" => "val1",
"key2" => "val2",
"key3" => null,
]);
$dictionary->getValue("key1"); // "val1"
$dictionary->getValue("key3"); // null
$dictionary->getValue("key4"); // null
$dictionary["key1"]; // "val1"
$dictionary["key3"]; // null
$dictionary["key4"]; // null
$dict->defined("key1")); // true
$dict->defined("key3")); // false
$dict->defined("key4")); // false
$dict->keyPresents("key3")); // true
$dict->keyPresents("key4")); // false
Installation
Use the Composer to install Dictionary
cd path/to/your/project/
composer require atk14/dictionary
Licence
Dictionary is free software distributed under the terms of the MIT license
统计信息
- 总下载量: 944
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-08