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

This package is not auto-updated.

Last update: 2024-05-05 01:16:16 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');