initial commit
[namibia] / module / User / config / module.config.php
1 <?php
2 namespace User;
3 return array(
4             'doctrine' => array(
5                 'driver' => array(
6                     __NAMESPACE__ . '_driver' => array(
7                         'class' => 'Doctrine\ORM\Mapping\Driver\AnnotationDriver',
8                         'cache' => 'array',
9                         'paths' => array(__DIR__ . '/../src/' . __NAMESPACE__ . '/Entity')
10                     ),
11                     'orm_default' => array(
12                         'drivers' => array(
13                             __NAMESPACE__ . '\Entity' => __NAMESPACE__ . '_driver'
14                         )
15                     )
16                 )
17             ),
18                 'controllers' => array(
19                                 'invokables' => array(
20                                                 'User\Controller\Import' => 'User\Controller\ImportController'
21                                 ),
22                 ),
23                 'console' => array(
24                                 'router' => array(
25                                                 'routes' => array(
26                                                                 'userimport' => array(
27                                                                                 'options' => array(
28                                                                                                 'route'    => 'user import',
29                                                                                                 'defaults' => array(
30                                                                                                                 'controller' => 'User\Controller\Import',
31                                                                                                                 'action'     => 'process'
32                                                                                                 )
33                                                                                 )
34                                                                 ),
35                                                                 'importnotify' => array(
36                                                                                 'options' => array(
37                                                                                                 'route'    => 'user notify',
38                                                                                                 'defaults' => array(
39                                                                                                                 'controller' => 'User\Controller\Import',
40                                                                                                                 'action'     => 'notify'
41                                                                                                 )
42                                                                                 )
43                                                                 ),
44                                                 )
45                                 )
46                 )
47 );