codon/super-object

A extended ArrayObject class with self-referring variables, caching and retrieve-by-path support

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/codon/super-object

dev-master 2012-08-20 15:04 UTC

This package is not auto-updated.

Last update: 2025-10-05 07:43:45 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');