testing
[namibia] / module / Auction / config / module.config.php
1 <?php
2 namespace Auction;
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                                                 'Auction\Controller\Auction' => 'Auction\Controller\AuctionController'
21                                 ),
22                 ),
23             'console' => array(
24                 'router' => array(
25                     'routes' => array(
26                         'auctionprocess' => array(
27                             'options' => array(
28                                 'route'    => 'auction process',
29                                 'defaults' => array(
30                                     'controller' => 'Auction\Controller\Auction',
31                                     'action'     => 'process'
32                                 )
33                             )
34                         ),
35                         'auctioncustomprocess' => array(
36                             'options' => array(
37                                 'route'    => 'auction custom',
38                                 'defaults' => array(
39                                     'controller' => 'Auction\Controller\Auction',
40                                     'action'     => 'processCustom'
41                                 )
42                             )
43                         ),
44                         'auctioncleanupprocess' => array(
45                             'options' => array(
46                                 'route'    => 'auction cleanup',
47                                 'defaults' => array(
48                                     'controller' => 'Auction\Controller\Auction',
49                                     'action'     => 'processCleanup'
50                                 )
51                             )
52                         ),
53                         'auctionending' => array(
54                             'options' => array(
55                                 'route'    => 'auction newsletter',
56                                 'defaults' => array(
57                                     'controller' => 'Auction\Controller\Auction',
58                                     'action'     => 'newsletter'
59                                 )
60                             )
61                         )
62                     )
63                 )
64             )
65 );