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

Module::getConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
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 Cv;
11
12
use Zend\Mvc\MvcEvent;
13
use Auth\View\InjectLoginInfoListener;
14
use Auth\Listener\TokenListener;
15
16
/**
17
 * Bootstrap class of the Core module
18
 *
19
 */
20
class Module
21
{
22
23
    
24
    /**
25
     * Loads module specific configuration.
26
     *
27
     * @return array
28
     */
29
    public function getConfig()
30
    {
31
        return include __DIR__ . '/config/module.config.php';
32
    }
33
34
    /**
35
     * Loads module specific autoloader configuration.
36
     *
37
     * @return array
38
     */
39
    public function getAutoloaderConfig()
40
    {
41
        
42
        return array(
43
            'Zend\Loader\StandardAutoloader' => array(
44
                'namespaces' => array(
45
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
46
                ),
47
            ),
48
        );
49
    }
50
    
51
    public function onBootstrap(MvcEvent $e)
0 ignored issues
show
Unused Code introduced by
The parameter $e is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
52
    {
53
54
    }
55
}
56