Closed Yahasana closed 6 years ago
yep, ini
style config is hard to read for cascade array.
<?php
return [
'group1' => [
'a' => [
'option' => []
]
]
];
I'm prefer $cfg = new \Ice\Config($file)
to $cfg = new \Ice\Config\php($file)
@mruz Inspired by your great idea, I removed the load helper but just let the config load data from php file directly.
$cfg = \Ice\Config($file)
What would you say to add a new adapter
config/php
similar to https://github.com/ice/framework/blob/dev/ice/config/json.zep?