Module   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 2
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 21
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getAutoloaderConfig() 0 13 1
A getConfig() 0 4 1
1
<?php
2
/**
3
 * Module file
4
 *
5
 * @author     Leandro Silva <[email protected]>
6
 * @category   LosPdf
7
 * @license    https://github.com/Lansoweb/LosPdf/blob/master/LICENSE BSD-3 License
8
 * @link       http://github.com/LansoWeb/LosPdf
9
 */
10
namespace LosPdf;
11
12
use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
13
14
/**
15
 * Module file
16
 *
17
 * @author     Leandro Silva <[email protected]>
18
 * @category   LosPdf
19
 * @license    https://github.com/Lansoweb/LosPdf/blob/master/LICENSE BSD-3 License
20
 * @link       http://github.com/LansoWeb/LosPdf
21
 */
22
class Module implements AutoloaderProviderInterface
23
{
24
    public function getAutoloaderConfig()
25
    {
26
        return [
27
            'Zend\Loader\ClassMapAutoloader' => [
28
                __DIR__.'/../../autoload_classmap.php',
29
            ],
30
            'Zend\Loader\StandardAutoloader' => [
31
                'namespaces' => [
32
                    __NAMESPACE__ => __DIR__ ,
33
                ],
34
            ],
35
        ];
36
    }
37
38
    public function getConfig()
39
    {
40
        return include __DIR__.'/../../config/module.config.php';
41
    }
42
}
43