DemoController   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 3 1
A tenant1Action() 0 3 1
A tenant2Action() 0 3 1
1
<?php
2
3
namespace test\Vivait\TenantBundle\Controller;
4
5
use Symfony\Component\HttpFoundation\Response;
6
7
class DemoController {
8
    public function indexAction() {
9
        return new Response('Hello World');
10
    }
11
12
    public function tenant1Action() {
13
        return new Response('Hello Tenant 1');
14
    }
15
16
    public function tenant2Action() {
17
        return new Response('Hello Tenant 2');
18
    }
19
}
20