GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Module   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getAutoloaderConfig() 0 13 1
A getServiceConfig() 0 15 1
A getConfig() 0 4 1
1
<?php
2
namespace ZfTable;
3
4
use ZfTable\Example\Model\CustomerTable;
5
6
7
class Module
8
{
9
    public function getAutoloaderConfig()
10
    {
11
        return array(
12
            'Zend\Loader\ClassMapAutoloader' => array(
13
                __DIR__ . '/autoload_classmap.php',
14
            ),
15
            'Zend\Loader\StandardAutoloader' => array(
16
                'namespaces' => array(
17
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
18
                ),
19
            ),
20
        );
21
    }
22
    
23
    public function getServiceConfig()
24
    {
25
        return array(
26
            'factories' => array(
27
                'ZfTable\Example\Model\CustomerTable' =>  function($sm) {
28
                    $dbAdapter = $sm->get('Zend\Db\Adapter\Adapter');
29
                    $table = new CustomerTable($dbAdapter);
30
                    return $table;
31
                },
32
            ),
33
           'aliases' => array(
34
                'zfdb_adapter' => 'Zend\Db\Adapter\Adapter',
35
            ),
36
        );
37
    }    
38
    
39
    public function getConfig()
40
    {
41
        return include __DIR__ . '/config/module.config.php';
42
    }
43
    
44
    
45
46
}