initial commit
[namibia] / module / Company / config / module.config.php
1 <?php
2 namespace Company;
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                 
19         'controllers' => array(
20                         'invokables' => array(
21                                         'Company\Controller\Company' => 'Company\Controller\CompanyController'
22                         ),
23         ),
24         'console' => array(
25                         'router' => array(
26                                         'routes' => array(
27                                                         'finddocumentsprocess' => array(
28                                                                         'options' => array(
29                                                                                         'route'    => 'document process',
30                                                                                         'defaults' => array(
31                                                                                                         'controller' => 'Company\Controller\Company',
32                                                                                                         'action'     => 'process'
33                                                                                         )
34                                                                         )
35                                                         ),
36                                                         'publicclubsprocess' => array(
37                                                                         'options' => array(
38                                                                                         'route'    => 'publicclubs process <companyId>',
39                                                                                         'defaults' => array(
40                                                                                                         'controller' => 'Company\Controller\Company',
41                                                                                                         'action'     => 'publicClubs'
42                                                                                         )
43                                                                         )
44                                                         )
45                                         )
46                         )
47         )
48 );