forked from NikolayMurha/SmartyModule
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Module.php
31 lines (29 loc) · 849 Bytes
/
Module.php
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
26
27
28
29
30
31
<?php
/**
* @link https://github.com/MurgaNikolay/SmartyModule for the canonical source repository
* @license http://framework.zend.com/license/new-bsd New BSD License
* @author Murga Nikolay <work@murga.kiev.ua>
* @package SmartyModule
*/
namespace SmartyModule;
class Module
{
public function getAutoloaderConfig()
{
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__ . '/autoload_classmap.php',
),
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
),
),
);
}
public function getConfig()
{
$config = include __DIR__ . '/config/module.config.php';
return $config;
}
}