This question is related to Appending multiple config arrays in PhalconPHP
I am trying to get retrieve an object from the DI using the get method.
The object is
Try this instead in the set:
$di->set('config', function() { ... return new \Phalcon\Config($new_array); });