Completed
Push — develop ( 1aadc7...f2612d )
by
unknown
15:52 queued 05:10
created

Module::getAutoloaderConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 10
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
/**
3
 * YAWIK
4
 * Auth Module Bootstrap
5
 *
6
 * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
 * @license   MIT
8
 */
9
10
namespace Geo;
11
12
use Zend\ServiceManager\ServiceManagerAwareInterface;
13
use Zend\ServiceManager\ServiceManager;
14
use SplFileInfo;
15
use Zend\View\Resolver\ResolverInterface;
16
use Zend\View\Renderer\RendererInterface as Renderer;
17
use Zend\Mvc\MvcEvent;
18
use Zend\View\ViewEvent;
19
use Zend\View\Model\ViewModel;
20
use Zend\EventManager\EventManagerInterface;
21
//use Core\View\Helper\InsertFile;
22
use Core\View\Helper\InsertFile\FileEvent;
23
use Core\Entity\FileEntity;
24
use Core\ModuleManager\ModuleConfigLoader;
25
26
/**
27
 * Geocoder Module
28
 *
29
 * This module automatically adds a typeahead feature to formular fields type="location"
30
 */
31
class Module
32
{
33
     /**
34
     * Loads module specific configuration.
35
     *
36
     * @return array
37
     */
38
    public function getConfig()
39
    {
40
        return ModuleConfigLoader::load(__DIR__ . '/config');
41
    }
42
    
43
    /**
44
     * Loads module specific autoloader configuration.
45
     *
46
     * @return array
47
     */
48
    public function getAutoloaderConfig()
49
    {
50
        return array(
51
            'Zend\Loader\StandardAutoloader' => array(
52
                'namespaces' => array(
53
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
54
                ),
55
            ),
56
        );
57
    }
58
}
59