Completed
Push — develop ( 1aadc7...f2612d )
by
unknown
25:44 queued 16:02
created

Module   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 36
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 4 1
A onBootstrap() 0 4 1
A getAutoloaderConfig() 0 11 1
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