Module   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 4 1
A getAutoloaderConfig() 0 10 1
A getControllerConfig() 0 8 1
1
<?php
2
3
namespace T4web\Authentication;
4
5
use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
6
use Zend\ModuleManager\Feature\ConfigProviderInterface;
7
use Zend\ModuleManager\Feature\ControllerProviderInterface;
8
use Zend\EventManager\EventInterface;
9
10
class Module implements
11
    AutoloaderProviderInterface,
12
    ConfigProviderInterface,
13
    ControllerProviderInterface
14
{
15
    public function getConfig($env = null)
16
    {
17
        return include dirname(__DIR__) . '/config/module.config.php';
18
    }
19
20
    public function getAutoloaderConfig()
21
    {
22
        return [
23
            'Zend\Loader\StandardAutoloader' => [
24
                'namespaces' => [
25
                    __NAMESPACE__ => dirname(__DIR__) . '/src/' . __NAMESPACE__,
26
                ],
27
            ],
28
        ];
29
    }
30
31
    public function getControllerConfig()
32
    {
33
        return [
34
            'factories' => [
35
36
            ]
37
        ];
38
    }
39
}
40