Module   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerAutoloaders() 0 4 1
A registerServices() 0 7 1
1
<?php
2
3
namespace Api;
4
5
class Module
6
{
7
8
    public function registerAutoloaders()
9
    {
10
11
    }
12
13
    public function registerServices($di)
14
    {
15
        $dispatcher = $di->get('dispatcher');
16
        $dispatcher->setDefaultNamespace("Api\Controller");
17
        $di->set('dispatcher', $dispatcher);
18
19
    }
20
21
}