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::getAutoloaderConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 9.8333
c 0
b 0
f 0
cc 1
nc 1
nop 0
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
}