forked from Webador/SlmQueue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathModule.php
39 lines (35 loc) · 828 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
32
33
34
35
36
37
38
39
<?php
namespace SlmQueue;
use Zend\Loader;
use Zend\ModuleManager\Feature;
/**
* SlmQueue
*/
class Module implements
Feature\AutoloaderProviderInterface,
Feature\ConfigProviderInterface
{
/**
* {@inheritDoc}
*/
public function getAutoloaderConfig()
{
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__ . '/autoload_classmap.php',
),
Loader\AutoloaderFactory::STANDARD_AUTOLOADER => array(
Loader\StandardAutoloader::LOAD_NS => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
),
),
);
}
/**
* {@inheritDoc}
*/
public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
}