testing
[namibia] / module / Auction / Module.php
1 <?php
2 namespace Auction;
3
4
5 class Module
6 {
7         public function getAutoloaderConfig()
8         {
9                 return array(
10                                 'Zend\Loader\ClassMapAutoloader' => array(
11                                                 __DIR__ . '/autoload_classmap.php',
12                                 )
13                 );
14         }
15
16         public function getConfig()
17         {
18                 return include __DIR__ . '/config/module.config.php';
19         }
20
21         public function getServiceConfig()
22         {
23                 return array(
24                                 'invokables' => array(
25                                                 __NAMESPACE__ => __NAMESPACE__ . '\Workflow',
26                                                 __NAMESPACE__ . '.Service.Auction' => __NAMESPACE__ . '\Service\Auction',
27                                                 __NAMESPACE__ . '.Service.Basket' => __NAMESPACE__ . '\Service\Basket',
28                                                 __NAMESPACE__ . '.Service.Bid' => __NAMESPACE__ . '\Service\Bid',
29                                                 __NAMESPACE__ . '.Service.AutoBid' => __NAMESPACE__ . '\Service\AutoBid',
30                                                 __NAMESPACE__ . '.Service.Question' => __NAMESPACE__ . '\Service\Question',
31                                                 __NAMESPACE__ . '.Service.Reply' => __NAMESPACE__ . '\Service\Reply',
32                                                 __NAMESPACE__ . '.Service.Increment' => __NAMESPACE__ . '\Service\Increment',
33                                                 __NAMESPACE__ . '.Service.PublicHoliday' => __NAMESPACE__ . '\Service\PublicHoliday',
34                                                 __NAMESPACE__ . '.Service.OpenDay' => __NAMESPACE__ . '\Service\OpenDay',
35                                                 __NAMESPACE__ . '.Service.Pdf' => __NAMESPACE__ . '\Service\Pdf'
36                                 )
37                 );
38         }
39
40 }