initial commit
[namibia] / module / Workspace / Module.php
1 <?php
2 namespace Workspace;
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                                 'ServiceContractUseOnce'  => 'Workspace\Contract\UseOnce',
26                                 'ServiceConditionOrBase'  => 'Workspace\UseCase\ConditionOrBase',
27                                 'ServiceConditionAndBase' => 'Workspace\UseCase\ConditionAndBase',
28                                 'ServiceRequirement'      => 'Workspace\UseCase\Requirement'
29                         ),
30                 'shared' => array(
31                     'ServiceContractUseOnce'  => false,
32                     'ServiceConditionOrBase'  => false,
33                     'ServiceConditionAndBase' => false,
34                     'ServiceRequirement'      => false
35                 )
36                 );
37         }
38
39 }