initial commit
[namibia] / module / Location / Module.php
1 <?php
2 namespace Location;
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.Country' => __NAMESPACE__ . '\Service\Country',
27                                                 __NAMESPACE__ . '.Service.Region'  => __NAMESPACE__ . '\Service\Region',
28                                                 __NAMESPACE__ . '.Service.Town'    => __NAMESPACE__ . '\Service\Town'
29                                 )
30                 );
31         }
32
33 }