Skip to content

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

Notifications You must be signed in to change notification settings

nabeelio/codon-superobject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codon-superobject

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');

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published