Module   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 18
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 4 1
A getAutoloaderConfig() 0 10 1
1
<?php
2
namespace ExpressApi;
3
4
use ZF\Apigility\Provider\ApigilityProviderInterface;
5
6
class Module implements ApigilityProviderInterface
7
{
8
    public function getConfig()
9
    {
10
        return include __DIR__ . '/../../config/module.config.php';
11
    }
12
13
    public function getAutoloaderConfig()
14
    {
15
        return array(
16
            'ZF\Apigility\Autoloader' => array(
17
                'namespaces' => array(
18
                    __NAMESPACE__ => __DIR__,
19
                ),
20
            ),
21
        );
22
    }
23
}
24