atk14/dictionary 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-08