I just work with the multi-module application I try to set the $di like
<?php
$di->set('config', $config);
?>
if I use a config file for every module to some path info,,, and how can I use the $config during the
<?php
public function registerAutoloaders()
{
$loader = new Loader();
$loader->registerNamespaces(
array(
'Multiple\Backend\Controllers' => '../apps/backend/controllers/',
'Multiple\Backend\Models' => '../apps/backend/models/',
)
);
$loader->register();
}
?>
or, how can I reach the $di in the registerAutoloaders ?
thanks!