forked from neilime/zf2-twb-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModule.php
More file actions
25 lines (23 loc) · 653 Bytes
/
Module.php
File metadata and controls
25 lines (23 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
namespace TwbBundle;
class Module implements
\Zend\ModuleManager\Feature\ConfigProviderInterface,
\Zend\ModuleManager\Feature\AutoloaderProviderInterface{
/**
* @see \Zend\ModuleManager\Feature\AutoloaderProviderInterface::getAutoloaderConfig()
* @return array
*/
public function getAutoloaderConfig(){
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__.DIRECTORY_SEPARATOR.'autoload_classmap.php'
)
);
}
/**
* @return array
*/
public function getConfig(){
return include __DIR__.DIRECTORY_SEPARATOR.'config/module.config.php';
}
}