2017 © Pedro Peláez
 

library super-object

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

image

codon/super-object

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

  • Monday, August 20, 2012
  • by nabeel
  • Repository
  • 2 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

codon-superobject

A class for parsing and using JSON for config files, (*1)

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

The Versions

20/08 2012

dev-master

9999999-dev https://github.com/nshahzad/codon-superobject

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

profiling benchmarking