dev-master
9999999-devphp common utility library
MIT
The Requires
The Development Requires
by Ganesha
php common utility library
PHP Common Utility Library, (*1)
Collection is an object that wrap associative array, and work like an associative array., (*2)
Collection is json serializer aware. See, JsonKit., (*3)
Example, (*4)
use ROH\Util\Collection; // instantiate empty collection $collection = new Collection(); // instantiate filled collection $filledCollection = new Collection([ 'foo' => 'bar' ]); // define attribute $collection['subCollection'] = $filledCollection; // get foo of sub collection attribute from parent collection attribute echo $collection['subCollection']['foo'];
Compose array of callable / function to be called later as sequence of function call., (*5)
Inflection library, (*6)
Simple dependency injector, (*7)
Compose options from array, or configuration files, (*8)
Format string from string template, (*9)
php common utility library
MIT