initial commit
[namibia] / module / Newsletter / config / module.config.php
1 <?php
2 namespace Newsletter;
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                                                 'Newsletter\Controller\Newsletter' => 'Newsletter\Controller\NewsletterController'
21                                 ),
22                 ),
23             'console' => array(
24                 'router' => array(
25                     'routes' => array(
26                         'sendnewsletter' => array(
27                             'options' => array(
28                                 'route'    => 'newsletter send <nlId> <test> <profileId>',
29                                 'defaults' => array(
30                                     'controller' => 'Newsletter\Controller\Newsletter',
31                                     'action'     => 'send'
32                                 )
33                             )
34                         )
35                     )
36                 )
37             )
38 );