is there a way to pass parameters to DI? may be like this:
$di->set('db', function ($section = 'default') use ($config) {
return new DbAdapter($config->database->{$section}->toArray());
});
// and call on any controller
$this->db('default')-> //... or
$this->db['default']-> //... or whatever