Module   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getAutoloaderConfig() 0 10 1
A getViewHelperConfig() 0 9 1
A getControllerPluginConfig() 0 8 1
1
<?php
2
3
namespace AtBase;
4
5
class Module
6
{
7
    /**
8
     * @return array
9
     */
10
    public function getAutoloaderConfig()
11
    {
12
        return array(
13
            'Zend\Loader\StandardAutoloader' => array(
14
                'namespaces' => array(
15
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
16
                ),
17
            ),
18
        );
19
    }
20
21
    /**
22
     * @return array
23
     */
24
    public function getViewHelperConfig()
25
    {
26
        return array(
27
            'invokables' => array(
28
                'atBaseQueryParams' => 'AtBase\View\Helper\QueryParams',
29
				'atFileSize' => 'AtBase\View\Helper\FileSize',
30
            ),
31
        );
32
    }
33
34
    /**
35
     * @return array
36
     */
37
    public function getControllerPluginConfig()
38
    {
39
        return array(
40
            'invokables' => array(
41
                'backTo' => 'AtBase\Mvc\Controller\Plugin\BackTo'
42
            ),
43
        );
44
    }
45
}