Download the PHP package atk14/dictionary without Composer
On this page you can find all versions of the php package atk14/dictionary. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download atk14/dictionary
More information about atk14/dictionary
Files in atk14/dictionary
Download atk14/dictionary
More information about atk14/dictionary
Files in atk14/dictionary
Vendor atk14
Package dictionary
Short Description Dictionary implementation
License MIT
Homepage https://github.com/atk14/Dictionary
Package dictionary
Short Description Dictionary implementation
License MIT
Homepage https://github.com/atk14/Dictionary
Please rate this library. Is it a good library?
Informations about the package dictionary
Dictionary
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
All versions of dictionary with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package atk14/dictionary contains the following files
Loading the files please wait ....