'modules' => array(
'Application',
),
- 'module_config' => array(
+ 'module_manager_options' => array(
'cache_config' => false,
'cache_dir' => realpath(__DIR__ . '/../data/cache'),
),
$this->router = $router;
}
- public function direct($params = array(), $options = array())
+ public function __invoke($params = array(), $options = array())
{
if (null === $this->router) {
return '';
$moduleManager = new Zend\Module\Manager(
$appConfig->modules,
- new Zend\Module\ManagerOptions($appConfig->module_config)
+ new Zend\Module\ManagerOptions($appConfig->module_manager_options)
);
// Get the merged config object