Completed
Push — master ( 9bb285...104bd6 )
by Alexander
03:14
created

Module   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 17
rs 10
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
}