codon / super-object
A extended ArrayObject class with self-referring variables, caching and retrieve-by-path support
dev-master
2012-08-20 15:04 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-11-03 03:30:28 UTC
README
A class for parsing and using JSON for config files
<?php \Codon\Config::loadJSONData($some_json_string); \Codon\Config::get('mapped.array.path.here'); # or as \Codon\Config::loadJSONData($some_json_string); $instance = \Codon\Config::getInstance(); # or $instance = \Codon\Config::i(); $value = $instance->map('mapped.array.path.here');